]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Disable RC6 before configuring in on VLV/CHV
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 19 Jan 2015 11:50:47 +0000 (13:50 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:50:44 +0000 (09:50 +0100)
commit5d1f5007363cf482bd7b0771b27539a57563ca06
tree15e749b567eb2ccea57846a8cf5badeaba485c49
parent42fdca70a14b935ff012d69434337b71613d30bb
drm/i915: Disable RC6 before configuring in on VLV/CHV

Follow the sequence in the BIOS spec and clear the RC_CONTROL register
before changing any of the other RC6/RP registers.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Deepak S<deepak.s@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c