| author | Jesse Barnes <jbarnes@hobbes.virtuousgeek.org> | 2008-02-06 17:35:43 (GMT) |
|---|---|---|
| committer | Jesse Barnes <jbarnes@hobbes.virtuousgeek.org> | 2008-02-06 17:37:07 (GMT) |
| commit | 2c8f87be99957e0e18d8bcda46bd8706ab374253 (patch) | |
| tree | 48cd75a155284136f82e1ce36bed882c31f4776c | |
| parent | 0516e708abf01d1f83e2e8af9abe4c835ed79444 (diff) | |
| download | xf86-video-intel-2c8f87be99957e0e18d8bcda46bd8706ab374253.zip xf86-video-intel-2c8f87be99957e0e18d8bcda46bd8706ab374253.tar.gz xf86-video-intel-2c8f87be99957e0e18d8bcda46bd8706ab374253.tar.bz2 | |
Only disable FBC if registers are available
The call to disable FBC should only occur if the FBC feature is actually
present or we may end up hanging on a read from a non-existent register.
| -rw-r--r-- | src/i830_display.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i830_display.c b/src/i830_display.c index b8c7226..7a2520d 100644 --- a/src/i830_display.c +++ b/src/i830_display.c @@ -637,7 +637,8 @@ i830_use_fb_compression(xf86CrtcPtr crtc) /* Here we disable it to catch one->two pipe enabled configs */ if (count > 1) { - i830_disable_fb_compression(crtc); + if (i830_fb_compression_supported(pI830)) + i830_disable_fb_compression(crtc); return FALSE; } |
