]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: implement workaround for riommu related hang
authorEric Yang <Eric.Yang2@amd.com>
Wed, 23 Jun 2021 19:48:02 +0000 (15:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Jul 2021 18:21:59 +0000 (14:21 -0400)
commit32f1d0cfc3444fb44ff1dba10d28e479690bdd3e
tree0674f7d74fdf34b792dcccfdd78d555a8e81a88e
parentec3102dc6b36c692104c4a0546d4119de59a3bc1
drm/amd/display: implement workaround for riommu related hang

[Why]
During S4/S5/reboot, sometimes riommu invalidation request arrive too
early, DCN may be unable to respond to the invalidation request
resulting in pstate hang.

[How]
VBIOS will force allow pstate for riommu invalidation and driver will
clear it after powering down display pipes.

Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Eric Yang <Eric.Yang2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.h
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.c
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_hwseq.h
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_init.c
drivers/gpu/drm/amd/display/dc/dcn31/dcn31_resource.c
drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h