diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2024-01-16 09:52:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-04-03 15:32:29 +0200 |
commit | 6e3fc678120eb0e243e7679d1f27564262cd11f9 (patch) | |
tree | 93c2f3473470055cc5679d841a13fdeb2d670bd7 /kernel/workqueue.c | |
parent | ec47e935f3824f47be48075b13673328676871ed (diff) |
drm/amd/display: Add more checks for exiting idle in DC
[ Upstream commit a9b1a4f684b32bcd33431b67acd6f4c275728380 ]
[Why]
Any interface that touches registers needs to wake up the system.
[How]
Add a new interface dc_exit_ips_for_hw_access that wraps the check
for IPS support and insert it into the public DC interfaces that
touch registers.
We don't re-enter, since we expect that the enter/exit to have been done
on the DM side.
Cc: stable@vger.kernel.org # 6.1+
Reviewed-by: Ovidiu Bunea <ovidiu.bunea@amd.com>
Acked-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions