summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dc_stream.h
diff options
context:
space:
mode:
authorDuncan Ma <Duncan.Ma@amd.com>2022-03-31 15:13:22 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-04-12 14:18:37 -0400
commit663d2daeaee6fa55530d8493979e9349070cd47c (patch)
tree62813eab5e180beb5efe26bbe5a014ebc5592880 /drivers/gpu/drm/amd/display/dc/dc_stream.h
parent56b5b1c7b3d7319d4bf980cf0dd05d7c808c230d (diff)
downloadlinux-stable-663d2daeaee6fa55530d8493979e9349070cd47c.tar.gz
linux-stable-663d2daeaee6fa55530d8493979e9349070cd47c.tar.bz2
linux-stable-663d2daeaee6fa55530d8493979e9349070cd47c.zip
drm/amd/display: Add odm seamless boot support
[WHY] Implement changes to transition from Pre-OS odm to Post-OS odm support. Seamless boot case is also considered. [HOW] Revised validation logic when marking for seamless boot. Init resources accordingly when Pre-OS has odm enabled. Reset odm and det size when transitioning Pre-OS odm to Post-OS non-odm to avoid corruption. Apply logic to set odm accordingly upon commit. Reviewed-by: Nicholas Kazlauskas <Nicholas.Kazlauskas@amd.com> Acked-by: Pavle Kotarac <Pavle.Kotarac@amd.com> Signed-off-by: Duncan Ma <Duncan.Ma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_stream.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_stream.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_stream.h b/drivers/gpu/drm/amd/display/dc/dc_stream.h
index c4168c11257c..580420c3eedc 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_stream.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_stream.h
@@ -246,6 +246,7 @@ struct dc_stream_state {
bool apply_edp_fast_boot_optimization;
bool apply_seamless_boot_optimization;
+ uint32_t apply_boot_odm_mode;
uint32_t stream_id;