diff options
author | 2022-02-09 17:16:13 +0100 | |
---|---|---|
committer | 2022-02-10 14:48:50 +0100 | |
commit | a3c286dcef7f8bc576a20f5d1e80624f6b4b93ee (patch) | |
tree | 00a2164d7302a82850a95869f3a7b08e0b395912 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/amdgpu: Fix compile error. (diff) | |
download | linux-dev-a3c286dcef7f8bc576a20f5d1e80624f6b4b93ee.tar.xz linux-dev-a3c286dcef7f8bc576a20f5d1e80624f6b4b93ee.zip |
drm/fb-helper: Fix clip rectangle height
Computing the clip rectangle is prone to off-by-one errors when writes
happen near the end of a memory page. Point the end of the memory area
to the first trailing byte, so that (end - start) returns the area's
length.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220209161617.3553-2-tzimmermann@suse.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions