summaryrefslogtreecommitdiff
path: root/src/sna/sna_display.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2012-07-26 14:15:45 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2012-07-26 15:04:16 +0100
commit2069384f9f06d3ef9dbb0c3f2c64cac4b24e10fc (patch)
tree06848c6a8dbc3beec1c986bb4277d12f9d6cbb36 /src/sna/sna_display.c
parentb18143de47e060b67a46d9c68590a2d35df9fca6 (diff)
sna/dri: Implement fallback handling for CopyRegion whilst wedged
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/sna_display.c')
-rw-r--r--src/sna/sna_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index a908596a..37a5e9fe 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -2419,7 +2419,7 @@ sna_covering_crtc(ScrnInfoPtr scrn,
int best_coverage, c;
/* If we do not own the VT, we do not own the CRTC either */
- if (!scrn->vtSema)
+ if (!scrn->vtSema || wedged(to_sna(scrn)))
return NULL;
DBG(("%s for box=(%d, %d), (%d, %d)\n",