aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorSimon Ser <[email protected]>2020-12-02 21:09:07 +0000
committerAlex Deucher <[email protected]>2020-12-02 22:39:29 +0000
commit03a663673063d04c2358be754a08e62a465bb8f0 (patch)
treee5d2743ee0fa457f33d9fe541cacb5766675941e /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amd/display: add debug logs for dm_crtc_helper_atomic_check (diff)
downloadkernel-03a663673063d04c2358be754a08e62a465bb8f0.tar.gz
kernel-03a663673063d04c2358be754a08e62a465bb8f0.zip
drm/amd/display: use FB pitch to fill dc_cursor_attributes
Instead of relying on pitch (in pixels) == width, use the FB pitch. This is less confusing to readers, and works correctly if we ever support FBs with a pitch (in pixels) != width. This also makes the code symmetrical with fill_plane_buffer_attributes. 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