提交 e91b5733 编写于 作者: T Tony Cheng 提交者: Alex Deucher

drm/amd/display: move tg_color to dc_hw_types

Signed-off-by: NTony Cheng <tony.cheng@amd.com>
Reviewed-by: NHarry Wentland <Harry.Wentland@amd.com>
Signed-off-by: NAlex Deucher <alexander.deucher@amd.com>
上级 94267b3d
......@@ -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 */
......
......@@ -28,18 +28,6 @@
struct dc_bios;
/**
* These parameters are required as input when doing blanking/Unblanking
*/
#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;
};
/* Contains CRTC vertical/horizontal pixel counters */
struct crtc_position {
uint32_t vertical_count;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
新手
引导
客服 返回
顶部