summaryrefslogtreecommitdiff
path: root/linux-core/drm_ttm.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-09-26 14:36:53 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-09-26 14:36:53 +0200
commit711f077b7423c1a436d703885c6d18a2ad2940aa (patch)
tree693556d60c576bde6cdbd5677c78616c33353671 /linux-core/drm_ttm.h
parent273eb7833d69db2d72430d5c96c21cebd05c206e (diff)
Allow for a driver to overload the ttm backend object methods.
Diffstat (limited to 'linux-core/drm_ttm.h')
-rw-r--r--linux-core/drm_ttm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-core/drm_ttm.h b/linux-core/drm_ttm.h
index d647578c..d65b17de 100644
--- a/linux-core/drm_ttm.h
+++ b/linux-core/drm_ttm.h
@@ -47,6 +47,7 @@
typedef struct drm_ttm_backend {
unsigned long aperture_base;
void *private;
+ int needs_free;
int (*needs_cache_adjust) (struct drm_ttm_backend * backend);
int (*populate) (struct drm_ttm_backend * backend,
unsigned long num_pages, struct page ** pages);