[PATCH 447/459] drm/amd/display: add dwb stere caps and version
Alex Deucher
alexdeucher at gmail.com
Mon Jun 17 19:49:36 UTC 2019
From: Charlene Liu <charlene.liu at amd.com>
add dwb stereo caps and ver for future use
Signed-off-by: Charlene Liu <charlene.liu at amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu at amd.com>
Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac at amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha at amd.com>
Signed-off-by: Alex Deucher <alexander.deucher at amd.com>
---
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
More information about the amd-gfx
mailing list