]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Release AUX engine after failed acquire
authorWyatt Wood <wyatt.wood@amd.com>
Wed, 23 Feb 2022 16:22:30 +0000 (11:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Mar 2022 18:25:15 +0000 (14:25 -0400)
commit38adbb57b08d1a11c7ed0ee31c3ae43e9abbb85d
tree0cfbd8bcbd21bea10b111ef8a62ff24ef48af933
parent3f6a42410d40f17c1c1d840749f547e00ec4984b
drm/amd/display: Release AUX engine after failed acquire

[Why]
There is a sequence in which aux arbitration
doesn't work correctly. Driver is left with
aux access after it times out waiting for access.
In future dmub fw is never granted aux access
and is stuck in a while loop.

[How]
Cancel aux request from driver after timing out.

Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Alan Liu <HaoPing.Liu@amd.com>
Signed-off-by: Wyatt Wood <wyatt.wood@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_aux.c