linux/drivers/gpu/drm/panfrost
Thomas Zimmermann a193f3b4e0 drm/shmem-helper: Pass GEM shmem object in public interfaces
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
2021-11-15 11:46:13 +01:00
..
Kconfig
Makefile
panfrost_devfreq.c drm/panfrost: devfreq: Don't display error for EPROBE_DEFER 2021-07-23 12:06:29 +01:00
panfrost_devfreq.h drm for 5.13-rc1 2021-04-28 10:01:40 -07:00
panfrost_device.c drm/panfrost: simplify getting .driver_data 2021-09-20 14:34:37 +01:00
panfrost_device.h drm/panfrost: Queue jobs on the hardware 2021-07-01 08:53:37 +02:00
panfrost_drv.c drm/shmem-helper: Pass GEM shmem object in public interfaces 2021-11-15 11:46:13 +01:00
panfrost_features.h
panfrost_gem_shrinker.c drm/shmem-helper: Pass GEM shmem object in public interfaces 2021-11-15 11:46:13 +01:00
panfrost_gem.c drm/shmem-helper: Pass GEM shmem object in public interfaces 2021-11-15 11:46:13 +01:00
panfrost_gem.h drm/panfrost: Fix a deadlock between the shrinker and madvise path 2020-11-03 09:21:52 +01:00
panfrost_gpu.c drm/panfrost:fix the exception name always "UNKNOWN" 2021-07-12 11:13:44 +01:00
panfrost_gpu.h drm/panfrost: add amlogic reset quirk callback 2020-09-21 10:13:50 +01:00
panfrost_issues.h
panfrost_job.c drm/panfrost: use scheduler dependency tracking 2021-08-30 10:57:50 +02:00
panfrost_job.h drm/panfrost: use scheduler dependency tracking 2021-08-30 10:57:50 +02:00
panfrost_mmu.c drm/shmem-helper: Pass GEM shmem object in public interfaces 2021-11-15 11:46:13 +01:00
panfrost_mmu.h drm/panfrost: Make sure MMU context lifetime is not bound to panfrost_priv 2021-06-24 09:25:56 +02:00
panfrost_perfcnt.c drm/shmem-helper: Pass GEM shmem object in public interfaces 2021-11-15 11:46:13 +01:00
panfrost_perfcnt.h drm/panfrost: Open/close the perfcnt BO 2019-12-06 11:06:20 -06:00
panfrost_regs.h drm/panfrost: Clamp lock region to Bifrost minimum 2021-08-25 15:40:19 +01:00
TODO drm/panfrost: Remove commented out call to panfrost_core_dump 2019-10-09 13:36:56 -05:00