summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
diff options
context:
space:
mode:
authorTony Cheng <tony.cheng@amd.com>2017-04-23 10:46:02 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:06:37 -0400
commite91b57334a4ef9355ffa397d767e8c3a2c690f22 (patch)
tree3089ba935021c6beb7de17f1f2413c96baebcc50 /drivers/gpu/drm/amd/display/dc/dc_hw_types.h
parent94267b3df7ee00f21fa0ff7d618ca7e0574db5ed (diff)
drm/amd/display: move tg_color to dc_hw_types
Signed-off-by: Tony Cheng <tony.cheng@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dc_hw_types.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_hw_types.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
index b785dd7b3a97..64d43dba8fd6 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
@@ -641,12 +641,12 @@ struct dc_crtc_timing {
struct dc_crtc_timing_flags flags;
};
-struct _dlg_otg_param {
- int vstartup_start;
- int vupdate_offset;
- int vupdate_width;
- int vready_offset;
- enum signal_type signal;
+#define MAX_TG_COLOR_VALUE 0x3FF
+struct tg_color {
+ /* Maximum 10 bits color value */
+ uint16_t color_r_cr;
+ uint16_t color_g_y;
+ uint16_t color_b_cb;
};
#endif /* DC_HW_TYPES_H */