]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drm: GEM mmap support
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 5 Nov 2008 18:31:53 +0000 (10:31 -0800)
committerDave Airlie <airlied@linux.ie>
Mon, 29 Dec 2008 07:47:22 +0000 (17:47 +1000)
commita2c0a97b784f837300f7b0869c82ab712c600952
treeaca1cdf3d32e1cfa7387350483f6a70c74a24ffd
parenta9587470f753d670d910293ecbf1c7b66c99de50
drm: GEM mmap support

Add core support for mapping of GEM objects.  Drivers should provide a
vm_operations_struct if they want to support page faulting of objects.
The code for handling GEM object offsets was taken from TTM, which was
written by Thomas Hellström.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_bufs.c
drivers/gpu/drm/drm_drv.c
drivers/gpu/drm/drm_fops.c
drivers/gpu/drm/drm_gem.c
drivers/gpu/drm/drm_hashtab.c
drivers/gpu/drm/drm_vm.c
include/drm/drm.h
include/drm/drmP.h