]> git.ipfire.org Git - thirdparty/linux.git/commit
drm/i915/dmc: Reload pipe DMC state on TGL when enabling pipe A
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 17 Jun 2025 17:07:55 +0000 (20:07 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 23 Jun 2025 14:50:07 +0000 (17:50 +0300)
commit761748679e80cc429f035bcb64662becf0ecf4f6
tree9563308b018b53197a48f47f5d55ecf7add4fc84
parentc541ad77a394e186a34e6af5e1b6057827c42659
drm/i915/dmc: Reload pipe DMC state on TGL when enabling pipe A

On TGL/derivatives the entire pipe DMC state (program + MMIO) is
lost when PG1 is disabled, and the main DMC does not restore
any of it. Reload the state when enabling a pipe.

The other option would be to not load the pipe DMC at all since
it's only needed for "fast LACE" (which we don't use) on these
platforms. But let's keep it around just in case we ever decide
that "fast LACE" is something we want.

Reviewed-by: Uma Shankar <uma.shankar@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250617170759.19552-6-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_dmc.c