From: Tony Cheng <tony.cheng@amd.com>
Date: Mon, 19 Dec 2016 18:54:15 -0500
Subject: drm/amd/display: add pitch to cursor attributes
Git-commit: 540f7d8068a7278ee0604083aad3c88f0deab6ed
Patch-mainline: v4.15-rc1
References: FATE#326289 FATE#326079 FATE#326049 FATE#322398 FATE#326166
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>
Acked-by: Petr Tesarik <ptesarik@suse.com>
---
drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_hw_types.h
@@ -407,6 +407,7 @@ union dc_cursor_attribute_flags {
struct dc_cursor_attributes {
PHYSICAL_ADDRESS_LOC address;
+ uint32_t pitch;
/* Width and height should correspond to cursor surface width x heigh */
uint32_t width;