aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_gem.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2022-02-09 16:16:13 +0000
committerThomas Zimmermann <[email protected]>2022-02-10 13:48:50 +0000
commita3c286dcef7f8bc576a20f5d1e80624f6b4b93ee (patch)
tree00a2164d7302a82850a95869f3a7b08e0b395912 /drivers/gpu/drm/lima/lima_gem.c
parentdrm/amdgpu: Fix compile error. (diff)
downloadkernel-a3c286dcef7f8bc576a20f5d1e80624f6b4b93ee.tar.gz
kernel-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 <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions