]> www.infradead.org Git - users/hch/misc.git/commit
drm/amd/display: prevent register access while in IPS
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Mon, 3 Jun 2024 14:16:45 +0000 (10:16 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jun 2024 20:15:59 +0000 (16:15 -0400)
commit02593249fa11ef8d2ca780ef91962f81b04eeea0
tree2a9667c72e21a9dd0654394546ccb3daf0f55b4b
parent1bfe5e77468d2a73de7411024912ee2a422c6d4c
drm/amd/display: prevent register access while in IPS

We can't read/write to DCN registers while in IPS. Since, that can cause
the system to hang. So, before proceeding with the access in that
scenario, force the system out of IPS.

Cc: stable@vger.kernel.org # 6.6+
Reviewed-by: Roman Li <roman.li@amd.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c