mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 12:03:54 +02:00
drm/i915/display: Disable DMG Clock Gating
Incorrect clock is connected to DMG registers. Disable DMG Clock gating during display initialization. WA: 22021451799 Bspec: 69095 Signed-off-by: Suraj Kandpal <suraj.kandpal@intel.com> Reviewed-by: Nemesa Garg <nemesa.garg@intel.com> Link: https://patch.msgid.link/20260122031818.703590-1-suraj.kandpal@intel.com
This commit is contained in:
parent
bbde2759de
commit
ad381460c9
|
|
@ -32,9 +32,17 @@ static void adlp_display_wa_apply(struct intel_display *display)
|
|||
intel_de_rmw(display, GEN8_CHICKEN_DCPR_1, DDI_CLOCK_REG_ACCESS, 0);
|
||||
}
|
||||
|
||||
static void xe3plpd_display_wa_apply(struct intel_display *display)
|
||||
{
|
||||
/* Wa_22021451799 */
|
||||
intel_de_rmw(display, GEN9_CLKGATE_DIS_0, 0, DMG_GATING_DIS);
|
||||
}
|
||||
|
||||
void intel_display_wa_apply(struct intel_display *display)
|
||||
{
|
||||
if (display->platform.alderlake_p)
|
||||
if (DISPLAY_VER(display) == 35)
|
||||
xe3plpd_display_wa_apply(display);
|
||||
else if (display->platform.alderlake_p)
|
||||
adlp_display_wa_apply(display);
|
||||
else if (DISPLAY_VER(display) == 12)
|
||||
xe_d_display_wa_apply(display);
|
||||
|
|
|
|||
|
|
@ -763,6 +763,7 @@
|
|||
*/
|
||||
#define GEN9_CLKGATE_DIS_0 _MMIO(0x46530)
|
||||
#define DARBF_GATING_DIS REG_BIT(27)
|
||||
#define DMG_GATING_DIS REG_BIT(21)
|
||||
#define MTL_PIPEDMC_GATING_DIS(pipe) REG_BIT(15 - (pipe))
|
||||
#define PWM2_GATING_DIS REG_BIT(14)
|
||||
#define PWM1_GATING_DIS REG_BIT(13)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user