drm/i915: Disable RC6 before configuring in on VLV/CHV
authorVille Syrjälä <[email protected]>
Mon, 19 Jan 2015 11:50:47 +0000 (13:50 +0200)
committerDaniel Vetter <[email protected]>
Tue, 27 Jan 2015 08:50:44 +0000 (09:50 +0100)
commit160614a2de90f5b36a0fd645d03fada86111fdd3
tree15e749b567eb2ccea57846a8cf5badeaba485c49
parent095acd5f8739aa8322820d460e617898baf092df
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ä <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Reviewed-by: Deepak S<[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/intel_pm.c