diff options
author | 2020-12-02 21:09:07 +0000 | |
---|---|---|
committer | 2020-12-02 17:39:29 -0500 | |
commit | 03a663673063d04c2358be754a08e62a465bb8f0 (patch) | |
tree | e5d2743ee0fa457f33d9fe541cacb5766675941e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amd/display: add debug logs for dm_crtc_helper_atomic_check (diff) | |
download | wireguard-linux-03a663673063d04c2358be754a08e62a465bb8f0.tar.xz wireguard-linux-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 <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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions