mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
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>
This commit is contained in:
parent
94267b3df7
commit
e91b57334a
@ -641,12 +641,12 @@ struct dc_crtc_timing {
|
|||||||
struct dc_crtc_timing_flags flags;
|
struct dc_crtc_timing_flags flags;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _dlg_otg_param {
|
#define MAX_TG_COLOR_VALUE 0x3FF
|
||||||
int vstartup_start;
|
struct tg_color {
|
||||||
int vupdate_offset;
|
/* Maximum 10 bits color value */
|
||||||
int vupdate_width;
|
uint16_t color_r_cr;
|
||||||
int vready_offset;
|
uint16_t color_g_y;
|
||||||
enum signal_type signal;
|
uint16_t color_b_cb;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* DC_HW_TYPES_H */
|
#endif /* DC_HW_TYPES_H */
|
||||||
|
@ -28,18 +28,6 @@
|
|||||||
|
|
||||||
struct dc_bios;
|
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 */
|
/* Contains CRTC vertical/horizontal pixel counters */
|
||||||
struct crtc_position {
|
struct crtc_position {
|
||||||
uint32_t vertical_count;
|
uint32_t vertical_count;
|
||||||
|
Loading…
Reference in New Issue
Block a user