]> www.infradead.org Git - users/jedix/linux-maple.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>
Wed, 19 Jun 2024 18:17:25 +0000 (14:17 -0400)
commit56342da3d8cc15efe9df7f29985ba8d256bdc258
treeb94f1543db45643042f880d4e728c3f6e400d499
parent84801d4f1e4fbd2c44dddecaec9099bdff100a42
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