diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2010-02-06 10:41:53 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-02-10 14:27:13 -0800 |
commit | ee25df2bc379728c45d81e04cf87984db1425edf (patch) | |
tree | dbd5629ce6e09ef67c2891cb5d3f535461f7f424 /drivers/gpu/drm/i915/i915_reg.h | |
parent | fd2e8ea597222b8f38ae8948776a61ea7958232e (diff) | |
download | kernel_samsung_tuna-ee25df2bc379728c45d81e04cf87984db1425edf.zip kernel_samsung_tuna-ee25df2bc379728c45d81e04cf87984db1425edf.tar.gz kernel_samsung_tuna-ee25df2bc379728c45d81e04cf87984db1425edf.tar.bz2 |
drm/i915: handle FBC and self-refresh better
On 945, we need to avoid entering self-refresh if the compressor is
busy, or we may cause display FIFO underruns leading to ugly flicker.
Fixes fdo bug #24314, kernel bug #15043.
Tested-by: Alexander Lam <lambchop468@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Tested-by: Julien Cristau <jcristau@debian.org> (fd.o #25371)
Cc: stable@kernel.org
Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_reg.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_reg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_reg.h b/drivers/gpu/drm/i915/i915_reg.h index 847006c..ab1bd2d 100644 --- a/drivers/gpu/drm/i915/i915_reg.h +++ b/drivers/gpu/drm/i915/i915_reg.h @@ -338,6 +338,7 @@ #define FBC_CTL_PERIODIC (1<<30) #define FBC_CTL_INTERVAL_SHIFT (16) #define FBC_CTL_UNCOMPRESSIBLE (1<<14) +#define FBC_C3_IDLE (1<<13) #define FBC_CTL_STRIDE_SHIFT (5) #define FBC_CTL_FENCENO (1<<0) #define FBC_COMMAND 0x0320c |