summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-03-04 15:08:24 -0800
committerEric Anholt <eric@anholt.net>2008-04-23 10:42:06 -0700
commitc82894034f611696c54c5aaf2112be638aa2cb35 (patch)
tree18bd828e39440c30fe839c707f79d9efa1d4e7e3
parentb3967765c082c4fae1954ec70474fb428ef42c70 (diff)
Clarify that drm_agp_ttm_backend is associated with a drm_ttm.
On first looking at it I assumed it was an aspect of the ttm backend as a whole rather than specific allocations from a backend.
-rw-r--r--linux-core/drm_objects.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/linux-core/drm_objects.h b/linux-core/drm_objects.h
index 770fbc56..6a900612 100644
--- a/linux-core/drm_objects.h
+++ b/linux-core/drm_objects.h
@@ -301,7 +301,12 @@ struct drm_ttm_backend_func {
void (*destroy) (struct drm_ttm_backend *backend);
};
-
+/**
+ * This structure associates a set of flags and methods with a drm_ttm
+ * object, and will also be subclassed by the particular backend.
+ *
+ * \sa #drm_agp_ttm_backend
+ */
struct drm_ttm_backend {
struct drm_device *dev;
uint32_t flags;