drm/amd/display: add pitch to cursor attributes

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>
This commit is contained in:
Tony Cheng
2016-12-19 18:54:15 -05:00
committed by Alex Deucher
parent b76794d2e7
commit 540f7d8068

View 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;