diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-06-20 13:51:12 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-06-20 13:51:23 +0100 |
commit | 22255335e428cb1f349fe4198d36e0ab3fe06948 (patch) | |
tree | e87303f00b3d29f2082b9b94d75ed4893d43135d | |
parent | e2684498a4905b4ac157a1c752c1c4f75301e7ad (diff) |
sna: Don't perform a GPU copy of the scanout if it is wedged.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/sna/sna_display.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c index a0acea29..42e3f595 100644 --- a/src/sna/sna_display.c +++ b/src/sna/sna_display.c @@ -504,6 +504,9 @@ void sna_copy_fbcon(struct sna *sna) bool ok; int i; + if (sna->kgem.wedged) + return; + /* Scan the connectors for a framebuffer and assume that is the fbcon */ fbcon = NULL; for (i = 0; fbcon == NULL && i < xf86_config->num_crtc; i++) { |