diff options
author | Jing Zhou <Jing.Zhou@amd.com> | 2022-03-11 01:20:37 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-03-15 21:41:22 +0300 |
commit | d853419f5fcce39553ce0f6837fa122f113b15b6 (patch) | |
tree | 1bb26a035cd81ce6563e47a25693778d3e6d72d9 | |
parent | a18112ae72d693bd4eb79f2ec09b536eeacb902b (diff) | |
download | linux-d853419f5fcce39553ce0f6837fa122f113b15b6.tar.xz |
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 <Wyatt.Wood@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Agustin Gutierrez <agustin.gutierrez@amd.com>
Signed-off-by: Jing Zhou <Jing.Zhou@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-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; } |