From bff59ec8415dcc589ff8ae1e01a8ef4a47cc8023 Mon Sep 17 00:00:00 2001 From: Michael Witten Date: Thu, 25 Aug 2011 19:19:18 +0000 Subject: [PATCH] --- yaml --- r: 275207 b: refs/heads/master c: ae63d793a43888eeb1c16422252d987aa37ab96c h: refs/heads/master i: 275205: b8208fe6c6f4dca6dcd843cb86e69d4c8ed3f643 275203: b7c70a33a5c6ad7cc22cc9ff40f46b35aa01b685 275199: cd56b3bbe1d809a8429a28d4e75cef940cb34c41 v: v3 --- [refs] | 2 +- trunk/Documentation/DocBook/drm.tmpl | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 27c5b7d02c88..25a7a7f29565 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1c86de2216f678bfb6e2472af6e5c25b0df8d91f +refs/heads/master: ae63d793a43888eeb1c16422252d987aa37ab96c diff --git a/trunk/Documentation/DocBook/drm.tmpl b/trunk/Documentation/DocBook/drm.tmpl index 6b2a80369f6b..6977cd91779c 100644 --- a/trunk/Documentation/DocBook/drm.tmpl +++ b/trunk/Documentation/DocBook/drm.tmpl @@ -433,15 +433,15 @@ Once your global TTM accounting structure is set up and initialized - by calling ttm_global_item_ref on it, + by calling ttm_global_item_ref() on it, you need to create a buffer object TTM to provide a pool for buffer object allocation by clients and the kernel itself. The type of this object should be TTM_GLOBAL_TTM_BO, and its size should be sizeof(struct ttm_bo_global). Again, driver specific init and release functions may be provided, - likely eventually calling ttm_bo_global_init and - ttm_bo_global_release, respectively. Also, like the previous - object, ttm_global_item_ref is used to create an initial reference + likely eventually calling ttm_bo_global_init() and + ttm_bo_global_release(), respectively. Also, like the previous + object, ttm_global_item_ref() is used to create an initial reference count for the TTM, which will call your initialization function.