diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2021-11-15 15:01:48 +0300 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-11-30 11:49:58 +0300 |
commit | e580ea25c08d9e89593bcf80640e29108f0542cb (patch) | |
tree | ce2cf7eaf9e1020562d5b1ac1d717896452d9f30 /drivers/gpu/drm/panel/Kconfig | |
parent | 05b1de51df077a2089e3d8ceec68aa687cff15db (diff) | |
download | linux-e580ea25c08d9e89593bcf80640e29108f0542cb.tar.xz |
drm/cma-helper: Pass GEM CMA object in public interfaces
Change all GEM CMA object functions that receive a GEM object
of type struct drm_gem_object to expect an object of type
struct drm_gem_cma_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 CMA functions are called with the correct type.
For consistency, the patch also renames drm_gem_cma_free_object to
drm_gem_cma_free. It further updates documentation for a number of
functions.
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20211115120148.21766-4-tzimmermann@suse.de
Diffstat (limited to 'drivers/gpu/drm/panel/Kconfig')
0 files changed, 0 insertions, 0 deletions