diff options
author | Jing Zhou <[email protected]> | 2022-03-10 17:20:37 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2022-03-15 14:41:22 -0400 |
commit | d853419f5fcce39553ce0f6837fa122f113b15b6 (patch) | |
tree | 1bb26a035cd81ce6563e47a25693778d3e6d72d9 | |
parent | a18112ae72d693bd4eb79f2ec09b536eeacb902b (diff) |
drm/amd/display: Update engine ddc
[Why]
Crash caused by a ddc update failure
[How]
Update engine ddc before release engine.
Reviewed-by: Wyatt Wood <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Agustin Gutierrez <[email protected]>
Signed-off-by: Jing Zhou <[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 | 1 |
1 files changed, 1 insertions, 0 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 b8d6f4202413..8e814000db62 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_aux.c @@ -413,6 +413,7 @@ static bool acquire( return false; if (!acquire_engine(engine)) { + engine->ddc = ddc; release_engine(engine); return false; } |