diff options
author | Simon Ser <contact@emersion.fr> | 2020-12-02 21:09:13 +0000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-12-02 17:39:29 -0500 |
commit | 9bf1019c5f3f11ab615c2d531868d1fe9887e560 (patch) | |
tree | f539b79d19dcaecc4d0b375601b9771e5484be76 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 03a663673063d04c2358be754a08e62a465bb8f0 (diff) |
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