summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/armada/armada_gem.h
diff options
context:
space:
mode:
authorNoralf Trønnes <noralf@tronnes.org>2017-08-17 18:21:31 +0200
committerNoralf Trønnes <noralf@tronnes.org>2017-09-02 14:22:20 +0200
commit4ee73624e0d0fd647ede3b17187ba98f2aa9421c (patch)
tree920beadc4b25ad0f81c9f865094728715dcb7c64 /drivers/gpu/drm/armada/armada_gem.h
parent90378e58919285637aa0f063c04ba0c6449d98b1 (diff)
downloadlinux-stable-4ee73624e0d0fd647ede3b17187ba98f2aa9421c.tar.gz
linux-stable-4ee73624e0d0fd647ede3b17187ba98f2aa9421c.tar.bz2
linux-stable-4ee73624e0d0fd647ede3b17187ba98f2aa9421c.zip
drm/armada: Use .dumb_map_offset and .dumb_destroy defaults
This driver can use the drm_driver.dumb_destroy and drm_driver.dumb_map_offset defaults, so no need to set them. Cc: Russell King <linux@armlinux.org.uk> Signed-off-by: Noralf Trønnes <noralf@tronnes.org> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/1502986891-36764-3-git-send-email-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/armada/armada_gem.h')
-rw-r--r--drivers/gpu/drm/armada/armada_gem.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/armada/armada_gem.h b/drivers/gpu/drm/armada/armada_gem.h
index 6e524e0676bb..1ac90792b166 100644
--- a/drivers/gpu/drm/armada/armada_gem.h
+++ b/drivers/gpu/drm/armada/armada_gem.h
@@ -35,10 +35,6 @@ struct armada_gem_object *armada_gem_alloc_private_object(struct drm_device *,
size_t);
int armada_gem_dumb_create(struct drm_file *, struct drm_device *,
struct drm_mode_create_dumb *);
-int armada_gem_dumb_map_offset(struct drm_file *, struct drm_device *,
- uint32_t, uint64_t *);
-int armada_gem_dumb_destroy(struct drm_file *, struct drm_device *,
- uint32_t);
struct dma_buf *armada_gem_prime_export(struct drm_device *dev,
struct drm_gem_object *obj, int flags);
struct drm_gem_object *armada_gem_prime_import(struct drm_device *,