summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2023-02-15 17:15:01 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2023-03-13 10:35:47 +0100
commitd1c0cc8d0d7008856cf425c64d7203f95beed841 (patch)
treec057e327b8b2d19df163363c88516c0a0459d644 /tools/perf/scripts/python
parenta1eccc574f977bd21a4ec8ac54bd73a2756bd281 (diff)
drm/cirrus: Compute blit destination offset in single location
The calculation for the scanout-buffer blit offset is independent from the color format. In the one case where the current code uses fb->pitches[0] instead of cirrus->pitch, their values are identical. Hence merge all into a single line. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230215161517.5113-2-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions