diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-07-25 16:26:55 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-07-31 11:19:23 +0300 |
commit | 51c98747113e93b6229f12d1a744a51fd59eff3a (patch) | |
tree | c5316dbe1d5735de0786f29d97b02d471a070080 /include/drm | |
parent | b2ad978fd00467e8109918849a817018aaaeed19 (diff) | |
download | linux-51c98747113e93b6229f12d1a744a51fd59eff3a.tar.xz |
drm/prime: Ditch gem_prime_res_obj hook
Everyone is just using gem_object->resv now.
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Sean Paul <sean@poorly.run>
Link: https://patchwork.freedesktop.org/patch/msgid/20190725132655.11951-5-daniel.vetter@ffwll.ch
Diffstat (limited to 'include/drm')
-rw-r--r-- | include/drm/drm_drv.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/include/drm/drm_drv.h b/include/drm/drm_drv.h index b33f2cee2099..8976afe48c1c 100644 --- a/include/drm/drm_drv.h +++ b/include/drm/drm_drv.h @@ -616,18 +616,6 @@ struct drm_driver { struct sg_table *(*gem_prime_get_sg_table)(struct drm_gem_object *obj); /** - * @gem_prime_res_obj: - * - * Optional hook to look up the &reservation_object for an buffer when - * exporting it. - * - * FIXME: This hook is deprecated. Users of this hook should be replaced - * by setting &drm_gem_object.resv instead. - */ - struct reservation_object * (*gem_prime_res_obj)( - struct drm_gem_object *obj); - - /** * @gem_prime_import_sg_table: * * Optional hook used by the PRIME helper functions |