diff options
author | Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> | 2023-12-05 11:22:56 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-12-19 14:59:02 -0500 |
commit | e5ffd1263dd5b44929c676171802e7b6af483f21 (patch) | |
tree | f50175b36f1a3472bade0b6e1fc8af61a198793b /drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c | |
parent | 8892780834ae294bc3697c7d0e056d7743900b39 (diff) | |
download | linux-stable-e5ffd1263dd5b44929c676171802e7b6af483f21.tar.gz linux-stable-e5ffd1263dd5b44929c676171802e7b6af483f21.tar.bz2 linux-stable-e5ffd1263dd5b44929c676171802e7b6af483f21.zip |
drm/amd/display: Wake DMCUB before executing GPINT commands
[Why]
DMCUB can be in idle when we attempt to interface with the HW through
the GPINT mailbox resulting in a system hang.
[How]
Add dc_wake_and_execute_gpint() to wrap the wake, execute, sleep
sequence.
If the GPINT executes successfully then DMCUB will be put back into
sleep after the optional response is returned.
It functions similar to the inbox command interface.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Hansen Dsouza <hansen.dsouza@amd.com>
Acked-by: Wayne Lin <wayne.lin@amd.com>
Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c')
0 files changed, 0 insertions, 0 deletions