From a6132cb10207968b61b0616ee7c1536876c8fe9f Mon Sep 17 00:00:00 2001 From: Charlene Liu Date: Tue, 21 May 2019 13:32:02 -0400 Subject: [PATCH] drm/amd/display: add dwb stere caps and version add dwb stereo caps and ver for future use Signed-off-by: Charlene Liu Reviewed-by: Charlene Liu Reviewed-by: Krunoslav Kovac Acked-by: Bhawanpreet Lakha Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/dc_types.h | 1 + drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dc_types.h b/drivers/gpu/drm/amd/display/dc/dc_types.h index a06429ca0019..6eabb6491a3d 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_types.h +++ b/drivers/gpu/drm/amd/display/dc/dc_types.h @@ -582,6 +582,7 @@ struct dc_info_packet_128 { uint8_t hb3; uint8_t sb[128]; }; + #define DC_PLANE_UPDATE_TIMES_MAX 10 struct dc_plane_flip_time { diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h b/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h index 0ac21fa231c7..a3409294ae0c 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h @@ -38,6 +38,7 @@ enum dce_version; enum dwb_sw_version { dwb_ver_1_0 = 1, + dwb_ver_2_0 = 2, }; enum dwb_source { @@ -112,8 +113,9 @@ struct dwb_caps { unsigned int support_ogam :1; unsigned int support_wbscl :1; unsigned int support_ocsc :1; + unsigned int support_stereo :1; } caps; - unsigned int reserved2[10]; /* Reserved for future use, MUST BE 0. */ + unsigned int reserved2[9]; /* Reserved for future use, MUST BE 0. */ }; struct dwbc {