aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_gem.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2022-02-09 16:16:16 +0000
committerThomas Zimmermann <[email protected]>2022-02-10 13:49:21 +0000
commitfe23b56f56532dcc5e49e83e20333b97919dec53 (patch)
treeafc9c439ce658a1b71f3e3d8b8fb5d9585fbcc8f /drivers/gpu/drm/lima/lima_gem.c
parentdrm/fb-helper: Calculate damaged area in separate helper (diff)
downloadkernel-fe23b56f56532dcc5e49e83e20333b97919dec53.tar.gz
kernel-fe23b56f56532dcc5e49e83e20333b97919dec53.zip
drm/fb-helper: Clip damage area to written memory range
Write helpers used to mark the complete screen as dirty. This is wasteful for writes that only change a small portion of the screen. Fix the problem by computing the damaged area from the written memory range and perform damage handling accordingly. 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