diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2012-03-31 13:29:25 +0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-04-02 11:08:17 +0100 |
commit | fa9e855025b19e96e493ee00de7d933a9794f742 (patch) | |
tree | f58d289ecb25d82483b9158406f510a3783022fb /drivers/gpu/drm/udl/udl_drv.c | |
parent | 402976fe51b2d1a58a29ba06fa1ca5ace3a4cdcd (diff) | |
download | lwn-fa9e855025b19e96e493ee00de7d933a9794f742.tar.gz lwn-fa9e855025b19e96e493ee00de7d933a9794f742.zip |
mm, drm/udl: fixup vma flags on mmap
There should be VM_MIXEDMAP, not VM_PFNMAP, because udl_gem_fault() inserts
pages via vm_insert_page(). Other drm/gem drivers already do this.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Dave Airlie <airlied@redhat.com>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/udl/udl_drv.c')
-rw-r--r-- | drivers/gpu/drm/udl/udl_drv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/udl/udl_drv.c b/drivers/gpu/drm/udl/udl_drv.c index 5340c5f3987b..53673907a6a0 100644 --- a/drivers/gpu/drm/udl/udl_drv.c +++ b/drivers/gpu/drm/udl/udl_drv.c @@ -47,7 +47,7 @@ static struct vm_operations_struct udl_gem_vm_ops = { static const struct file_operations udl_driver_fops = { .owner = THIS_MODULE, .open = drm_open, - .mmap = drm_gem_mmap, + .mmap = udl_drm_gem_mmap, .poll = drm_poll, .read = drm_read, .unlocked_ioctl = drm_ioctl, |