gma500: enable GEM mmap
authorAlan Cox <alan@linux.jf.intel.com>
Tue, 10 May 2011 20:27:31 +0000 (21:27 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 11 May 2011 21:01:45 +0000 (14:01 -0700)
commit0c4ac072b3f5e1287a11f109ca0cc9c909d74919
treea189e59d40386bd224dd3b3324624665af2b97b2
parent1dce160f027763253c316f5bcd3cc7b686d988d2
gma500: enable GEM mmap

Support mapping of GEM objects. This ought to be a small plumbing change but
instead we have to cut and paste a pile of stuff into the driver. This
really wants to be handled *IN* GEM

You can now allocate, mmap and munmap GEM objects in the driver. You can't
yet map them into the GART or display them however.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/psb_drv.c
drivers/staging/gma500/psb_gem.c