diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-06-25 10:36:38 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-06-25 10:36:38 +0100 |
commit | cac7c8dc4b154d37ff27430aa7b714ac84f3d092 (patch) | |
tree | 1cf1d1ac32a6d9468269ee0b86349d534f87af24 /src/sna/sna_dri2.c | |
parent | e827ef7811da992c6cc7bc9553f0f6f68287ce4b (diff) |
sna: Skip wait_for_shadow() when shadow is temporarily disabled
When recursing, we guard against unwanted waits by temporarily disabling
the shadow. For the most part, we actually defer the wait to avoid
recursion, but in a few instances detecting the recursion is hard (e.g.
finishing a vblank and then performing the FakeFront copy). Here, we
just ignore shadow (it should only be a read of valid data) and exit to
avoid the assertion.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_dri2.c')
0 files changed, 0 insertions, 0 deletions