aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h
diff options
context:
space:
mode:
authorEric Yang <Eric.Yang2@amd.com>2021-06-23 15:48:02 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-07-21 14:21:59 -0400
commit32f1d0cfc3444fb44ff1dba10d28e479690bdd3e (patch)
tree0674f7d74fdf34b792dcccfdd78d555a8e81a88e /drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h
parentdrm/amd/display: Fix comparison error in dcn21 DML (diff)
downloadlinux-dev-32f1d0cfc3444fb44ff1dba10d28e479690bdd3e.tar.xz
linux-dev-32f1d0cfc3444fb44ff1dba10d28e479690bdd3e.zip
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>
Diffstat (limited to '')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h
index f7f7e4fff0c2..082549f75978 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw_sequencer_private.h
@@ -41,6 +41,7 @@ struct dce_hwseq_wa {
bool DEGVIDCN10_254;
bool DEGVIDCN21;
bool disallow_self_refresh_during_multi_plane_transition;
+ bool early_riommu_invalidation;
};
struct hwseq_wa_state {