mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
Wyatt Wood d29b7980b5 drm/amd/display: Prevent PSR disable/reenable in HPD IRQ
[Why]
When HPD IRQ occurs, it triggers a PSR disable and reenable
directly through dc layer.
Since it does not pass through the power layer, the layer
that tracks whether PSR is enabled or disabled and which
masks are set, this layer is now out of sync with the real
PSR state in FW.
Theoretically PSR can be enabled during hw programming
sequences or any other situation where we must disable PSR.

[How]
Check if PSR is enabled before doing PSR disable/reenable.

Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com>
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-12-07 13:10:16 -05:00
..
amdgpu_dm drm/amd/display: Fix DPIA outbox timeout after S3/S4/reset 2021-12-07 13:08:14 -05:00
dc drm/amd/display: Prevent PSR disable/reenable in HPD IRQ 2021-12-07 13:10:16 -05:00
dmub drm/amd/display: [FW Promotion] Release 0.0.95 2021-12-01 16:06:51 -05:00
include drm/amd/display: Enable DSC over eDP 2021-11-22 14:45:01 -05:00
modules drm/amd/display: Fix deadlock when falling back to v2 from v3 2021-10-28 14:26:51 -04:00
Kconfig drm/amdgpu/display: fix dependencies for DRM_AMD_DC_SI 2021-10-05 10:55:41 -04:00
Makefile drm/amd/display: Drop CONFIG_DRM_AMD_DC_DMUB guards 2019-11-13 15:29:42 -05:00
TODO