From: Charlene Liu <charlene.liu@xxxxxxx> add dwb stereo caps and ver for future use Signed-off-by: Charlene Liu <charlene.liu@xxxxxxx> Reviewed-by: Charlene Liu <Charlene.Liu@xxxxxxx> Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@xxxxxxx> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@xxxxxxx> Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> --- 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 { -- 2.20.1 _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx