drm/i915: Move the C3 LP write bit setup to gen3_init_clock_gating() for KMS
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 25 Feb 2014 13:13:41 +0000 (15:13 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Jun 2014 06:52:40 +0000 (08:52 +0200)
commitdbb42748ac4929987c1449ecb296b39ef8956b62
treecb5d45b6047b51dd5b9254dc8e043090771acae4
parent54e472ae9632992bfbd0c6fd8c8fc5c88d2bdd1f
drm/i915: Move the C3 LP write bit setup to gen3_init_clock_gating() for KMS

Move the MI_ARB_STATE MI_ARB_C3_LP_WRITE_ENABLE setup to
gen3_init_clock_gating() from i915_gem_load() when KMS is enabled. Leave
it in i915_gem_load() for the UMS case, but add an explcit check, just
to make it easier to spot it when we eventually rip out UMS support.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_pm.c
This page took 0.025816 seconds and 5 git commands to generate.