]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 28 May 2014 12:51:03 +0000 (14:51 +0200)
commit43f6534f3526d9a074ac2cd7fadff18cddc94c59
tree5a98451cb1be9524b4a1b75da0001c835100dfc1
parent9d9c5847eaa4c691a2070f193b493370c8c71e4d
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