drm/amd/display: add pitch to cursor attributes
authorTony Cheng <tony.cheng@amd.com>
Mon, 19 Dec 2016 23:54:15 +0000 (18:54 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:06:34 +0000 (17:06 -0400)
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>
drivers/gpu/drm/amd/display/dc/dc_hw_types.h

index bd60337..499f6b2 100644 (file)
@@ -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;