aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorRob Clark <robdclark@chromium.org>2023-01-23 07:48:31 -0800
committerThomas Zimmermann <tzimmermann@suse.de>2023-02-01 11:18:15 +0100
commit3ad8173b4d8788c983c2e850cc2a7a68aafbdb45 (patch)
treecb4b7a63267143509718979158cd0cacf2a78493 /scripts/bpf_doc.py
parent76b1d904ad2f4059c12310872c23bc1bcd6f35c8 (diff)
drm/shmem: Cleanup drm_gem_shmem_create_with_handle()
Once we create the handle, the handle owns the reference. Currently nothing was doing anything with the shmem ptr after the handle was created, but let's change drm_gem_shmem_create_with_handle() to not return the pointer, so-as to not encourage problematic use of this function in the future. As a bonus, it makes the code a bit cleaner. Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Steven Price <steven.price@arm.com> Signed-off-by: Steven Price <steven.price@arm.com> Link: https://patchwork.freedesktop.org/patch/msgid/20230123154831.3191821-1-robdclark@gmail.com (cherry picked from commit d023d6f741c85bb00d2ca43d338327fbc150c113) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions