summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Cheng <tony.cheng@amd.com>2017-04-23 10:46:02 -0400
committerHarry Wentland <harry.wentland@amd.com>2017-05-03 16:47:02 -0400
commit88769707af4ea0e6b0aa8550c8fe09846e570b8e (patch)
treeadf2c6ac8e4e8b2308a92780658830729e77346c
parentb17dc420be59e30ee3a1d5f534cd5e6d17615b63 (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>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_hw_types.h12
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h12
2 files changed, 6 insertions, 18 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 */
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h b/drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h
index b3deaf2d8173..235cfe8d1ad4 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/hw/timing_generator.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;