diff options
| author | Simon Ser <[email protected]> | 2020-12-02 21:09:13 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-12-02 22:39:29 +0000 |
| commit | 9bf1019c5f3f11ab615c2d531868d1fe9887e560 (patch) | |
| tree | f539b79d19dcaecc4d0b375601b9771e5484be76 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amd/display: use FB pitch to fill dc_cursor_attributes (diff) | |
| download | kernel-9bf1019c5f3f11ab615c2d531868d1fe9887e560.tar.gz kernel-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 <[email protected]>
Signed-off-by: Simon Ser <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: Harry Wentland <[email protected]>
Cc: Nicholas Kazlauskas <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
