diff options
author | 2023-03-24 15:31:10 -0400 | |
---|---|---|
committer | 2023-04-18 16:28:52 -0400 | |
commit | 522b9a5d5852f99e51fbc460054dc8af3b4b5b30 (patch) | |
tree | f811b8386c97a0cb22faee134c8f2bb5035e4daa /drivers/gpu/drm/amd/display/modules/power/power_helpers.c | |
parent | drm/amd/display: refactor dmub commands into single function (diff) | |
download | linux-rng-522b9a5d5852f99e51fbc460054dc8af3b4b5b30.tar.xz linux-rng-522b9a5d5852f99e51fbc460054dc8af3b4b5b30.zip |
drm/amd/display: drain dmub inbox if queue is full
[Why & How]
If dmub command queuing fails due to the inbox being full, flush the
inbox and resubmit the comamnd. This was previously the default behavior
but was lost in a refactor.
Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Josip Pavic <Josip.Pavic@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/modules/power/power_helpers.c')
0 files changed, 0 insertions, 0 deletions