]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Disable PSR around cdclk changes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 8 Jun 2021 08:54:15 +0000 (11:54 +0300)
committerJosé Roberto de Souza <jose.souza@intel.com>
Tue, 8 Jun 2021 17:22:55 +0000 (10:22 -0700)
commit17c1a4b7ac6ffcebcc97442b9af4a34a95d4a1f8
treed37318ab07aa3b22713b41ede079ed9578a69cfa
parent234b40282efba8c6a8824dee2c580f3c3964be34
drm/i915: Disable PSR around cdclk changes

AUX logic is often clocked from cdclk. Disable PSR to make sure
there are no hw initiated AUX transactions in flight while we
change the cdclk frequency.

Cc: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210608085415.515342-2-gwan-gyeong.mun@intel.com
drivers/gpu/drm/i915/display/intel_cdclk.c