]> www.infradead.org Git - users/willy/xarray.git/commit
drm/amd/display: fix IPX enablement
authorHamza Mahfooz <hamza.mahfooz@amd.com>
Thu, 21 Mar 2024 20:09:21 +0000 (16:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Mar 2024 12:57:11 +0000 (08:57 -0400)
commit1202f794cdaa4f0ba6a456bc034f2db6cfcf5579
tree0248221f47d0fa2f0d81228c3135e3797a9ec211
parentca299b4512d4b4f516732a48ce9aa19d91f4473e
drm/amd/display: fix IPX enablement

We need to re-enable idle power optimizations after entering PSR. Since,
we get kicked out of idle power optimizations before entering PSR
(entering PSR requires us to write to DCN registers, which isn't allowed
while we are in IPS).

Fixes: a9b1a4f684b3 ("drm/amd/display: Add more checks for exiting idle in DC")
Tested-by: Mark Broadworth <mark.broadworth@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@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_psr.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.h