]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mm, drm/udl: fixup vma flags on mmap
authorKonstantin Khlebnikov <khlebnikov@openvz.org>
Sat, 31 Mar 2012 09:29:25 +0000 (13:29 +0400)
committerDave Airlie <airlied@redhat.com>
Mon, 2 Apr 2012 10:08:17 +0000 (11:08 +0100)
commitfa9e855025b19e96e493ee00de7d933a9794f742
treef58d289ecb25d82483b9158406f510a3783022fb
parent402976fe51b2d1a58a29ba06fa1ca5ace3a4cdcd
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>
drivers/gpu/drm/udl/udl_drv.c
drivers/gpu/drm/udl/udl_drv.h
drivers/gpu/drm/udl/udl_gem.c