diff options
author | Thomas Zimmermann | 2020-06-05 09:32:07 +0200 |
---|---|---|
committer | Thomas Zimmermann | 2020-06-10 09:01:49 +0200 |
commit | 654bf12bad116f434c17b7669895ffaab96e16c2 (patch) | |
tree | 0d982c5266a760416103b6d54a34b31f6c6cd25a /drivers | |
parent | 06d6620164b2989468cd4ea809645e6483623314 (diff) |
drm/cma-helper: Add DRM_GEM_CMA_DRIVER_OPS to set default GEM CMA functions
The macro to DRM_GEM_CMA_DRIVER_OPS sets GEM callbacks in struct drm_driver
to their defaults for CMA. A variant of the macro is provided for drivers
that override the default .dumb_create callback. Adapt drivers to the changes.
v4:
* remove parenthesis around dumb_create_func
* fix grammar in commit message
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200605073247.4057-4-tzimmermann@suse.de
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions