diff options
author | Wyatt Wood <[email protected]> | 2022-02-23 11:22:30 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-03-15 14:25:15 -0400 |
commit | d8ff38d8fcd0a7bb66d17ec689135239aca78532 (patch) | |
tree | 0cfbd8bcbd21bea10b111ef8a62ff24ef48af933 | |
parent | 3741584519dcb780c38df502dd5e4cf7cea4d9f2 (diff) |
drm/amd/display: Release AUX engine after failed acquire
[Why]
There is a sequence in which aux arbitration
doesn't work correctly. Driver is left with
aux access after it times out waiting for access.
In future dmub fw is never granted aux access
and is stuck in a while loop.
[How]
Cancel aux request from driver after timing out.
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Alan Liu <[email protected]>
Signed-off-by: Wyatt Wood <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c b/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c index 74b05b3aef08..b8d6f4202413 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c @@ -413,7 +413,7 @@ static bool acquire( return false; if (!acquire_engine(engine)) { - dal_ddc_close(ddc); + release_engine(engine); return false; } |