Daniel Vetter
2019-Jun-14 20:35 UTC
[PATCH 37/59] drm/virtio: Drop drm_gem_prime_export/import
They're the default. Aside: Would be really nice to switch the others over to drm_gem_object_funcs. Signed-off-by: Daniel Vetter <daniel.vetter at intel.com> Cc: David Airlie <airlied at linux.ie> Cc: Gerd Hoffmann <kraxel at redhat.com> Cc: virtualization at lists.linux-foundation.org --- drivers/gpu/drm/virtio/virtgpu_drv.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.c b/drivers/gpu/drm/virtio/virtgpu_drv.c index 0afdf51fdcfd..99bcd290f1fb 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.c +++ b/drivers/gpu/drm/virtio/virtgpu_drv.c @@ -207,8 +207,6 @@ static struct drm_driver driver = { #endif .prime_handle_to_fd = drm_gem_prime_handle_to_fd, .prime_fd_to_handle = drm_gem_prime_fd_to_handle, - .gem_prime_export = drm_gem_prime_export, - .gem_prime_import = drm_gem_prime_import, .gem_prime_get_sg_table = virtgpu_gem_prime_get_sg_table, .gem_prime_import_sg_table = virtgpu_gem_prime_import_sg_table, .gem_prime_vmap = virtgpu_gem_prime_vmap, -- 2.20.1
Gerd Hoffmann
2019-Jun-17 06:03 UTC
[PATCH 37/59] drm/virtio: Drop drm_gem_prime_export/import
On Fri, Jun 14, 2019 at 10:35:53PM +0200, Daniel Vetter wrote:> They're the default. > > Aside: Would be really nice to switch the others over to > drm_gem_object_funcs. > > Signed-off-by: Daniel Vetter <daniel.vetter at intel.com> > Cc: David Airlie <airlied at linux.ie> > Cc: Gerd Hoffmann <kraxel at redhat.com> > Cc: virtualization at lists.linux-foundation.org > --- > drivers/gpu/drm/virtio/virtgpu_drv.c | 2 -- > 1 file changed, 2 deletions(-)Acked-by: Gerd Hoffmann <kraxel at redhat.com>
Reasonably Related Threads
- [PATCH AUTOSEL 5.0 85/99] Revert "drm/virtio: drop prime import/export callbacks"
- [PATCH 4/5] virtio_gpu: add basic prime support
- [PATCH 4/5] virtio_gpu: add basic prime support
- [PATCH v3 5/7] virtio-gpu: add basic prime support
- [PATCH v3 5/7] virtio-gpu: add basic prime support