diff options
author | Paul Kocialkowski <paul.kocialkowski@bootlin.com> | 2019-04-18 15:05:09 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-04-18 17:56:47 +0200 |
commit | ad408c766cef7ebaa9b74f828db50e7642388581 (patch) | |
tree | 6a37f2bac65d7ac22edd88ad60a2d17b7b3cfa64 /drivers/gpu/drm/v3d | |
parent | aa20236784ab3d0372591d6eca692956bca4ebfb (diff) | |
download | lwn-ad408c766cef7ebaa9b74f828db50e7642388581.tar.gz lwn-ad408c766cef7ebaa9b74f828db50e7642388581.zip |
drm/sun4i: Use DRM_GEM_CMA_VMAP_DRIVER_OPS for GEM operations
Our driver makes a typical use of CMA, with GEM object allocated as
GEM CMA objects. Use DRM_GEM_CMA_VMAP_DRIVER_OPS to describe the ops
instead of duplicating them.
Because DRM_GEM_CMA_VMAP_DRIVER_OPS implements a gem_create_object op
which sets per-object funcs (drm_cma_gem_default_funcs), we can also
get rid of free_object_unlocked and gem_vm_ops, which are superseded
by the object funcs.
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190418130509.3569-1-paul.kocialkowski@bootlin.com
Diffstat (limited to 'drivers/gpu/drm/v3d')
0 files changed, 0 insertions, 0 deletions