aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/udl/udl_main.c
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2019-11-14 14:10:21 +0000
committerThomas Zimmermann <[email protected]>2019-11-26 11:34:25 +0000
commit6c44e30ae130b740441ac0c65d5fa12dd6586942 (patch)
treef0c31ef7c1af2f3010e80d73c5bf41b5a5cde19b /drivers/gpu/drm/udl/udl_main.c
parentdma-buf: Remove kernel map/unmap hooks (diff)
downloadkernel-6c44e30ae130b740441ac0c65d5fa12dd6586942.tar.gz
kernel-6c44e30ae130b740441ac0c65d5fa12dd6586942.zip
drm/udl: Unmap buffer object after damage update
Udl keeps a BO mapped for its entire lifetime if it has been used in a damage update at least once. The BO's free callback release the mapping before it frees the BO. Change this behaviour to unmap immediately after the damage update, so SHMEM's implementation of free can be used. Signed-off-by: Thomas Zimmermann <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/udl/udl_main.c')
0 files changed, 0 insertions, 0 deletions