From 9796b71318152666f1804215922588c7edb3f4cb Mon Sep 17 00:00:00 2001 From: Tyler DiBattista Date: Mon, 8 Apr 2019 13:30:07 -0400 Subject: drm/amd/display: move DWB structs and enums to dc_hw_types [Why] these enums/structs will be used more generically in the future so moving it to dc_hw_types and dc_types Signed-off-by: Tyler DiBattista Reviewed-by: Charlene Liu Acked-by: Bhawanpreet Lakha Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/dc_types.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/gpu/drm/amd/display/dc/dc_types.h') diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h index 5984be3cdf0c..7ce8d62ce5ae 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_types.h +++ b/drivers/gpu/drm/amd/display/dc/dc_types.h @@ -423,6 +423,13 @@ enum display_content_type { #if defined(CONFIG_DRM_AMD_DC_DCN2_0) /* writeback */ +struct dwb_stereo_params { + bool stereo_enabled; /* false: normal mode, true: 3D stereo */ + enum dwb_stereo_type stereo_type; /* indicates stereo format */ + bool stereo_polarity; /* indicates left eye or right eye comes first in stereo mode */ + enum dwb_stereo_eye_select stereo_eye_select; /* indicate which eye should be captured */ +}; + struct dc_dwb_cnv_params { unsigned int src_width; /* input active width */ unsigned int src_height; /* input active height (half-active height in interlaced mode) */ -- cgit v1.2.3