aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Cheng <tony.cheng@amd.com>2016-12-19 18:54:15 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:06:34 -0400
commit540f7d8068a7278ee0604083aad3c88f0deab6ed (patch)
tree185cbfe028cf4457d10454b682dea542055624b1
parentdrm/amd/display: 4k split black out due to incorrect cursor (diff)
downloadlinux-dev-540f7d8068a7278ee0604083aad3c88f0deab6ed.tar.xz
linux-dev-540f7d8068a7278ee0604083aad3c88f0deab6ed.zip
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>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dc_hw_types.h1
1 files changed, 1 insertions, 0 deletions
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;