[PATCH 04/12] drm/amd/display: Update engine ddc
Agustin Gutierrez
agustin.gutierrez at amd.com
Thu Mar 10 22:20:37 UTC 2022
From: Jing Zhou <Jing.Zhou at amd.com>
[Why]
Crash caused by a ddc update failure
[How]
Update engine ddc before release engine.
Reviewed-by: Wyatt Wood <Wyatt.Wood at amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr at amd.com>
Acked-by: Agustin Gutierrez <agustin.gutierrez at amd.com>
Signed-off-by: Jing Zhou <Jing.Zhou at amd.com>
---
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c | 1 +
1 file changed, 1 insertion(+)
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;
}
--
2.35.1
More information about the amd-gfx
mailing list