From 540f7d8068a7278ee0604083aad3c88f0deab6ed Mon Sep 17 00:00:00 2001 From: Tony Cheng Date: Mon, 19 Dec 2016 18:54:15 -0500 Subject: [PATCH] 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 --- 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 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; -- 2.30.2