summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
diff options
context:
space:
mode:
authorTony Cheng <tony.cheng@amd.com>2016-12-19 12:54:40 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:06:31 -0400
commitb76794d2e7198cf7c73f1b65dbc6dc796ac92685 (patch)
tree7d92f0c61e4c06b32b390deaf386067293fb9db6 /drivers/gpu/drm/amd/display/dc/dc_hw_types.h
parent6f3f8d48664d0cecc559ea8c093838c13ba21192 (diff)
drm/amd/display: 4k split black out due to incorrect cursor
- add handling to program both cursor for left and right pipe - add guard to disable cursor in case where cursor isn't visible to prevent pipe hang Signed-off-by: Tony Cheng <tony.cheng@amd.com> Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com> Acked-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.h9
1 files changed, 9 insertions, 0 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 5605a5c96da7..bd603374a3c9 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
@@ -27,6 +27,7 @@
#define DC_HW_TYPES_H
#include "os_types.h"
+#include "fixed31_32.h"
/******************************************************************************
* Data types for Virtual HW Layer of DAL3.
@@ -359,6 +360,14 @@ struct dc_cursor_position {
bool hot_spot_enable;
};
+struct dc_cursor_mi_param {
+ unsigned int pixel_clk_khz;
+ unsigned int ref_clk_khz;
+ unsigned int viewport_x_start;
+ unsigned int viewport_width;
+ struct fixed31_32 h_scale_ratio;
+};
+
/* IPP related types */
/* Used by both ipp amd opp functions*/