Commit d853419f authored by Jing Zhou's avatar Jing Zhou Committed by Alex Deucher

drm/amd/display: Update engine ddc

[Why]
Crash caused by a ddc update failure

[How]
Update engine ddc before release engine.
Reviewed-by: default avatarWyatt Wood <Wyatt.Wood@amd.com>
Reviewed-by: default avatarAric Cyr <Aric.Cyr@amd.com>
Acked-by: default avatarAgustin Gutierrez <agustin.gutierrez@amd.com>
Signed-off-by: default avatarJing Zhou <Jing.Zhou@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a18112ae
...@@ -413,6 +413,7 @@ static bool acquire( ...@@ -413,6 +413,7 @@ static bool acquire(
return false; return false;
if (!acquire_engine(engine)) { if (!acquire_engine(engine)) {
engine->ddc = ddc;
release_engine(engine); release_engine(engine);
return false; return false;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment