Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
omap_gem_helpers.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/shmem_fs.h>
#include <drm/drmP.h>

Go to the source code of this file.

Functions

struct page ** _drm_gem_get_pages (struct drm_gem_object *obj, gfp_t gfpmask)
 
void _drm_gem_put_pages (struct drm_gem_object *obj, struct page **pages, bool dirty, bool accessed)
 
int _drm_gem_create_mmap_offset_size (struct drm_gem_object *obj, size_t size)
 

Function Documentation

int _drm_gem_create_mmap_offset_size ( struct drm_gem_object *  obj,
size_t  size 
)

Definition at line 117 of file omap_gem_helpers.c.

struct page** _drm_gem_get_pages ( struct drm_gem_object *  obj,
gfp_t  gfpmask 
)
read

drm_gem_get_pages - helper to allocate backing pages for a GEM object : obj in question : gfp mask of requested pages

Definition at line 35 of file omap_gem_helpers.c.

void _drm_gem_put_pages ( struct drm_gem_object *  obj,
struct page **  pages,
bool  dirty,
bool  accessed 
)

drm_gem_put_pages - helper to free backing pages for a GEM object : obj in question : pages to free

Definition at line 95 of file omap_gem_helpers.c.