summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorCharlene Liu <charlene.liu@amd.com>2019-05-21 13:32:02 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-06-22 09:34:13 -0500
commita6132cb10207968b61b0616ee7c1536876c8fe9f (patch)
tree6b0d1500412adb2be3900537938467644c4e5d48 /drivers/gpu/drm/amd
parent779451a736d67f443d948980b6c4100e999e30b7 (diff)
downloadlinux-a6132cb10207968b61b0616ee7c1536876c8fe9f.tar.bz2
drm/amd/display: add dwb stere caps and version
add dwb stereo caps and ver for future use Signed-off-by: Charlene Liu <charlene.liu@amd.com> Reviewed-by: Charlene Liu <Charlene.Liu@amd.com> Reviewed-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com> Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_types.h1
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/dwb.h4
2 files changed, 4 insertions, 1 deletions
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 {