diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-10-17 15:26:35 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-10-22 11:34:02 +0200 |
commit | 60f57220cd3c2f35866904a7eea6b03c8ee5a743 (patch) | |
tree | e1bd815c229518996ee9ab7d1099782e0852af30 /drivers/gpu/drm/qxl/qxl_drv.c | |
parent | 80ed59b285cc7ca50aeb635eb3a2cb8d3d54b406 (diff) | |
download | linux-stable-60f57220cd3c2f35866904a7eea6b03c8ee5a743.tar.gz linux-stable-60f57220cd3c2f35866904a7eea6b03c8ee5a743.tar.bz2 linux-stable-60f57220cd3c2f35866904a7eea6b03c8ee5a743.zip |
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
Diffstat (limited to 'drivers/gpu/drm/qxl/qxl_drv.c')
-rw-r--r-- | drivers/gpu/drm/qxl/qxl_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/qxl/qxl_drv.c b/drivers/gpu/drm/qxl/qxl_drv.c index 483b4c57554a..65464630ac98 100644 --- a/drivers/gpu/drm/qxl/qxl_drv.c +++ b/drivers/gpu/drm/qxl/qxl_drv.c @@ -157,7 +157,7 @@ static const struct file_operations qxl_fops = { .unlocked_ioctl = drm_ioctl, .poll = drm_poll, .read = drm_read, - .mmap = qxl_mmap, + .mmap = drm_gem_mmap, }; static int qxl_drm_freeze(struct drm_device *dev) |