summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/v3d
diff options
context:
space:
mode:
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>2019-04-18 15:05:09 +0200
committerMaxime Ripard <maxime.ripard@bootlin.com>2019-04-18 17:56:47 +0200
commitad408c766cef7ebaa9b74f828db50e7642388581 (patch)
tree6a37f2bac65d7ac22edd88ad60a2d17b7b3cfa64 /drivers/gpu/drm/v3d
parentaa20236784ab3d0372591d6eca692956bca4ebfb (diff)
downloadlwn-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