aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJing Zhou <[email protected]>2022-03-10 17:20:37 -0500
committerAlex Deucher <[email protected]>2022-03-15 14:41:22 -0400
commitd853419f5fcce39553ce0f6837fa122f113b15b6 (patch)
tree1bb26a035cd81ce6563e47a25693778d3e6d72d9
parenta18112ae72d693bd4eb79f2ec09b536eeacb902b (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.c1
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;
}