drm: Document drm_cache interface
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>
Mon, 9 Jan 2017 21:56:48 +0000 (19:56 -0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Jan 2017 10:16:33 +0000 (11:16 +0100)
commitf0e36723a68dfd959168c73bfa7ca6fa426eadf5
tree629697fb5ae097cc9ab140a2c051a640d9fcc7dd
parent282d0a35c8c42c3ac4dd86a7e408ed1b30db4897
drm: Document drm_cache interface

Notice that this uncovers an issue with the kernel-doc handling of array
arguments, causing the first parameter of drm_clflush_pages() to not
show up in the rst-generated page.  A proposed fix is under review in
linux-doc: <http://www.spinics.net/lists/linux-doc/msg42544.html>

Changes since v1:
 - Add section to drm-mm.rst.
 - Fix kernel-doc style issues.
 - s/memory/kernel memory/.

Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170109215649.6860-1-krisman@collabora.co.uk
Documentation/gpu/drm-mm.rst
drivers/gpu/drm/drm_cache.c