diff options
author | Noralf Trønnes <noralf@tronnes.org> | 2017-07-23 22:16:40 +0300 |
---|---|---|
committer | Noralf Trønnes <noralf@tronnes.org> | 2017-07-29 15:00:35 +0300 |
commit | 8cfd4f5de4968daeb8f4535e72da9240f8661e20 (patch) | |
tree | 31ad50cce000440a4b2edf7a1ba55905f76116c5 /drivers/gpu/drm/rockchip/rockchip_drm_gem.h | |
parent | 819e0a98a0fc180f12766231eb4db913369d3b67 (diff) | |
download | linux-8cfd4f5de4968daeb8f4535e72da9240f8661e20.tar.xz |
drm/rockchip: 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: Mark Yao <mark.yao@rock-chips.com>
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1500837417-40580-25-git-send-email-noralf@tronnes.org
Diffstat (limited to 'drivers/gpu/drm/rockchip/rockchip_drm_gem.h')
-rw-r--r-- | drivers/gpu/drm/rockchip/rockchip_drm_gem.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_gem.h b/drivers/gpu/drm/rockchip/rockchip_drm_gem.h index 3f6ea4d18a5c..f237375582fb 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_gem.h +++ b/drivers/gpu/drm/rockchip/rockchip_drm_gem.h @@ -57,7 +57,4 @@ void rockchip_gem_free_object(struct drm_gem_object *obj); int rockchip_gem_dumb_create(struct drm_file *file_priv, struct drm_device *dev, struct drm_mode_create_dumb *args); -int rockchip_gem_dumb_map_offset(struct drm_file *file_priv, - struct drm_device *dev, uint32_t handle, - uint64_t *offset); #endif /* _ROCKCHIP_DRM_GEM_H */ |