summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2009-07-06 16:25:13 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2009-07-06 16:25:13 +0800
commit7e722ada533777c5e9ddf44bb4d770bacf8e13bf (patch)
tree0ae6ea894fdad3c1e20a4b33768245789a7aff6c
parent74227141923a2f5049592219ab80e8733062a5d9 (diff)
Disable FBC on IGDNG
Don't make FBC count for memory allocation. Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
-rw-r--r--src/i830.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i830.h b/src/i830.h
index 25ed424e..dc5e0c84 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -839,6 +839,8 @@ static inline int i830_fb_compression_supported(I830Ptr pI830)
return FALSE;
if (IS_IGD(pI830))
return FALSE;
+ if (IS_IGDNG(pI830))
+ return FALSE;
/* fbc depends on tiled surface. And we don't support tiled
* front buffer with unaccelerated.
*/