From: Tony Cheng Date: Mon, 19 Dec 2016 23:54:15 +0000 (-0500) Subject: drm/amd/display: add pitch to cursor attributes X-Git-Tag: v4.15-rc1~56^2~23^2~830 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=540f7d8068a7278ee0604083aad3c88f0deab6ed;p=thirdparty%2Fkernel%2Flinux.git drm/amd/display: add pitch to cursor attributes Signed-off-by: Tony Cheng Reviewed-by: Yongqiang Sun Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- 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 bd603374a3c99..499f6b2a31f80 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;