summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-02 21:09:13 +0000
committerAlex Deucher <alexander.deucher@amd.com>2020-12-02 17:39:29 -0500
commit9bf1019c5f3f11ab615c2d531868d1fe9887e560 (patch)
treef539b79d19dcaecc4d0b375601b9771e5484be76 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent03a663673063d04c2358be754a08e62a465bb8f0 (diff)
downloadlinux-stable-9bf1019c5f3f11ab615c2d531868d1fe9887e560.tar.gz
linux-stable-9bf1019c5f3f11ab615c2d531868d1fe9887e560.tar.bz2
linux-stable-9bf1019c5f3f11ab615c2d531868d1fe9887e560.zip
drm/amd/display: add cursor pitch check
Replace the width check with a pitch check, which matches DM internals. Add a new check to make sure the pitch (in pixels) matches the width. Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Simon Ser <contact@emersion.fr> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: Harry Wentland <hwentlan@amd.com> Cc: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions