Commit 42a7bf8a authored by Ville Syrjälä's avatar Ville Syrjälä
Browse files

drm/i915/dmc: Limit pipe DMC clock gating w/a to just ADL/DG2/MTL



Supposedly nothing post-MTL (even BMG) needs the pipe DMC clock
gating w/a (Wa_16015201720), so don't apply it.

TODO: check if the ADL/DG2 "clock gating needed during DMC loading" part
      is actually needed, not seeing anything in the docs about it...

Reviewed-by: default avatarUma Shankar <uma.shankar@intel.com>
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250617170759.19552-2-ville.syrjala@linux.intel.com
parent 266907bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -488,7 +488,7 @@ static void mtl_pipedmc_clock_gating_wa(struct intel_display *display)

static void pipedmc_clock_gating_wa(struct intel_display *display, bool enable)
{
	if (DISPLAY_VER(display) >= 14 && enable)
	if (display->platform.meteorlake && enable)
		mtl_pipedmc_clock_gating_wa(display);
	else if (DISPLAY_VER(display) == 13)
		adlp_pipedmc_clock_gating_wa(display, enable);