diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2020-06-05 09:32:12 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2020-06-10 09:02:27 +0200 |
commit | dc502e21a2c57e78fe0385130981dd19c98290fc (patch) | |
tree | b0ffb7f0aa481bbff412db44f4eb1866f3f498e3 /sound/ppc/daca.c | |
parent | d9ec1d2c4acfbe8ecac8355a723e09f518b5c70f (diff) |
drm/atmel-hlcdc: Use GEM CMA object functions
Create GEM objects with drm_gem_cma_create_object_default_funcs(), which
allocates the object and sets CMA's default object functions. Corresponding
callbacks in struct drm_driver are cleared. No functional changes are made.
Driver and object-function instances use the same callback functions, with
the exception of vunmap. The implementation of vunmap is empty and left out
in CMA's default object functions.
v3:
* convert to DRIVER_OPS macro in a separate patch
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200605073247.4057-9-tzimmermann@suse.de
Diffstat (limited to 'sound/ppc/daca.c')
0 files changed, 0 insertions, 0 deletions