drm/qxl: switch qxl to &drm_gem_object_funcs.mmap
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 17 Oct 2019 13:26:35 +0000 (15:26 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 22 Oct 2019 09:34:02 +0000 (11:34 +0200)
commit60f57220cd3c2f35866904a7eea6b03c8ee5a743
treee1bd815c229518996ee9ab7d1099782e0852af30
parent80ed59b285cc7ca50aeb635eb3a2cb8d3d54b406
drm/qxl: switch qxl to &drm_gem_object_funcs.mmap

Wire up the new drm_gem_ttm_mmap() helper function.
Use generic drm_gem_mmap() and remove qxl_mmap().

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20191017132638.9693-3-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_drv.c
drivers/gpu/drm/qxl/qxl_drv.h
drivers/gpu/drm/qxl/qxl_object.c
drivers/gpu/drm/qxl/qxl_ttm.c