Export shmem_file_setup for DRM-GEM
authorKeith Packard <keithp@keithp.com>
Fri, 20 Jun 2008 07:08:06 +0000 (00:08 -0700)
committerDave Airlie <airlied@linux.ie>
Fri, 17 Oct 2008 21:10:11 +0000 (07:10 +1000)
commit395e0ddc44005ced5e4fed9bfc2e4bdf63d37627
treeee33f3a28029dae46445e563d35ed93f36dd9fad
parent0a3e67a4caac273a3bfc4ced3da364830b1ab241
Export shmem_file_setup for DRM-GEM

GEM needs to create shmem files to back buffer objects.  Though currently
creation of files for objects could have been driven from userland, the
modesetting work will require allocation of buffer objects before userland
is running, for boot-time message display.

Signed-off-by: Eric Anholt <eric@anholt.net>
Cc: Nick Piggin <npiggin@suse.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
mm/shmem.c