diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2011-01-17 16:35:57 -0500 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-01-18 04:50:08 -0500 |
commit | 1ffa325bac55982d72a61ccab1a4190501e37148 (patch) | |
tree | 357afa5393b50c3d2c61620587ec68b1d4ebee2d /drivers/gpu/drm/i915/intel_display.c | |
parent | e6f597a1425b5af64917be3448b29e2d5a585ac8 (diff) |
drm/i915: set more FBC chicken bits
Add a couple of missing workaround bits for ILK & SNB. These disable
clock gating on a couple of units that would otherwise prevent FBC from
working.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_display.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_display.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index 98967f3b7724..d2ef1c2c65e9 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c | |||
@@ -6286,7 +6286,9 @@ void intel_enable_clock_gating(struct drm_device *dev) | |||
6286 | 6286 | ||
6287 | if (IS_GEN5(dev)) { | 6287 | if (IS_GEN5(dev)) { |
6288 | /* Required for FBC */ | 6288 | /* Required for FBC */ |
6289 | dspclk_gate |= DPFDUNIT_CLOCK_GATE_DISABLE; | 6289 | dspclk_gate |= DPFCUNIT_CLOCK_GATE_DISABLE | |
6290 | DPFCRUNIT_CLOCK_GATE_DISABLE | | ||
6291 | DPFDUNIT_CLOCK_GATE_DISABLE; | ||
6290 | /* Required for CxSR */ | 6292 | /* Required for CxSR */ |
6291 | dspclk_gate |= DPARBUNIT_CLOCK_GATE_DISABLE; | 6293 | dspclk_gate |= DPARBUNIT_CLOCK_GATE_DISABLE; |
6292 | 6294 | ||