mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-11 17:16:41 +07:00
drm/i915: implement WADPOClockGatingDisable for LPT
This should prevent mode set failures on LPT. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com> Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> [danvet: Pimp the w/a tag to fit into Damien's new scheme.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
7dd23ba089
commit
0a790cdbfc
@ -4093,6 +4093,11 @@ static void lpt_init_clock_gating(struct drm_device *dev)
|
||||
I915_WRITE(SOUTH_DSPCLK_GATE_D,
|
||||
I915_READ(SOUTH_DSPCLK_GATE_D) |
|
||||
PCH_LP_PARTITION_LEVEL_DISABLE);
|
||||
|
||||
/* WADPOClockGatingDisable:hsw */
|
||||
I915_WRITE(_TRANSA_CHICKEN1,
|
||||
I915_READ(_TRANSA_CHICKEN1) |
|
||||
TRANS_CHICKEN1_DP0UNIT_GC_DISABLE);
|
||||
}
|
||||
|
||||
static void lpt_suspend_hw(struct drm_device *dev)
|
||||
|
Loading…
Reference in New Issue
Block a user