a193f3b4e0
Change all GEM SHMEM object functions that receive a GEM object of type struct drm_gem_object to expect an object of type struct drm_gem_shmem_object instead. This change reduces the number of upcasts from struct drm_gem_object by moving them into callers. The C compiler can now verify that the GEM SHMEM functions are called with the correct type. For consistency, the patch also renames drm_gem_shmem_free_object to drm_gem_shmem_free. It further updates documentation for a number of functions. v3: * fix docs for drm_gem_shmem_object_free() v2: * mention _object_ callbacks in docs (Daniel) Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20211108093149.7226-4-tzimmermann@suse.de |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
v3d_bo.c | ||
v3d_debugfs.c | ||
v3d_drv.c | ||
v3d_drv.h | ||
v3d_fence.c | ||
v3d_gem.c | ||
v3d_irq.c | ||
v3d_mmu.c | ||
v3d_perfmon.c | ||
v3d_regs.h | ||
v3d_sched.c | ||
v3d_trace.h | ||
v3d_trace_points.c |