[PATCH 01/14] drm/amd/display: add pitch to cursor attributes

Harry Wentland harry.wentland at amd.com
Fri Dec 23 15:57:53 UTC 2016


From: Tony Cheng <tony.cheng at amd.com>

Change-Id: Ic9a3c7d606b6e48967da59746ca3ec4c217565af
Signed-off-by: Tony Cheng <tony.cheng at amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
---
 drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 1 +
 1 file changed, 1 insertion(+)

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 bd603374a3c9..499f6b2a31f8 100644
--- 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;
-- 
2.9.3



More information about the amd-gfx mailing list