path: root/Documentation/DocBook/drm.tmpl
diff options
authorDaniel Vetter <daniel.vetter@ffwll.ch>2015-07-24 17:40:15 +0200
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-07-27 10:26:30 +0200
commit3271dca483a48759cdbdb5f16a13125ab91f6c05 (patch)
treee3313a3b9ab06276de9b9b61d07d1a8e3b1749ea /Documentation/DocBook/drm.tmpl
parentdrm/i915: Move low-level swizzling code to i915_gem_fence.c (diff)
drm/i915: kerneldoc for tiling IOCTL and swizzle functions
Chris rightfully suggested that documenting fences without documenting the BO tiling tracking doesn't make much sense, so fix that. The important bit to stress here (since it lead to some confusion) is the GEM doesn't really care about tiling. Except for a few select cases where the kernel needs to manage something that userspace can't take care of: Namely the limited number of fences and fixing up swizzling, although we still fail at the later. v2: Move the low-level tiling/swizzling functions and kerneldoc to i915_gem_fence.c and leave only the userspace interface here. Suggested by Chris. Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'Documentation/DocBook/drm.tmpl')
1 files changed, 14 insertions, 2 deletions
diff --git a/Documentation/DocBook/drm.tmpl b/Documentation/DocBook/drm.tmpl
index 20c39b7e21ee..43042739ae63 100644
--- a/Documentation/DocBook/drm.tmpl
+++ b/Documentation/DocBook/drm.tmpl
@@ -4198,9 +4198,21 @@ int num_ioctls;</synopsis>
- <title>Global GTT Fence Handling</title>
-!Pdrivers/gpu/drm/i915/i915_gem_fence.c fence register handling
+ <title>GTT Fences and Swizzling</title>
+ <sect3>
+ <title>Global GTT Fence Handling</title>
+!Pdrivers/gpu/drm/i915/i915_gem_fence.c fence register handling
+ </sect3>
+ <sect3>
+ <title>Hardware Tiling and Swizzling Details</title>
+!Pdrivers/gpu/drm/i915/i915_gem_fence.c tiling swizzling details
+ </sect3>
+ </sect2>
+ <sect2>
+ <title>Object Tiling IOCTLs</title>
+!Pdrivers/gpu/drm/i915/i915_gem_tiling.c buffer object tiling
<title>Buffer Object Eviction</title>