Skip to content

Commit 727ecd9

Browse files
committed
drm/doc/rfc: drop the i915_gem_lmem.h header
The proper headers have now landed in include/uapi/drm/i915_drm.h, so we can drop i915_gem_lmem.h and instead just reference the real headers for pulling in the kernel doc. Suggested-by: Daniel Vetter <[email protected]> Signed-off-by: Matthew Auld <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 00d6dc3 commit 727ecd9

File tree

2 files changed

+3
-240
lines changed

2 files changed

+3
-240
lines changed

Documentation/gpu/rfc/i915_gem_lmem.h

Lines changed: 0 additions & 237 deletions
This file was deleted.

Documentation/gpu/rfc/i915_gem_lmem.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ particular instance, since we can have more than one per class.
4848
In the future we also want to expose more information which can further
4949
describe the capabilities of a region.
5050

51-
.. kernel-doc:: Documentation/gpu/rfc/i915_gem_lmem.h
51+
.. kernel-doc:: include/uapi/drm/i915_drm.h
5252
:functions: drm_i915_gem_memory_class drm_i915_gem_memory_class_instance drm_i915_memory_region_info drm_i915_query_memory_regions
5353

5454
GEM_CREATE_EXT
@@ -61,7 +61,7 @@ Side note: We also need to support PXP[1] in the near future, which is also
6161
applicable to integrated platforms, and adds its own gem_create_ext extension,
6262
which basically lets userspace mark a buffer as "protected".
6363

64-
.. kernel-doc:: Documentation/gpu/rfc/i915_gem_lmem.h
64+
.. kernel-doc:: include/uapi/drm/i915_drm.h
6565
:functions: drm_i915_gem_create_ext
6666

6767
I915_GEM_CREATE_EXT_MEMORY_REGIONS
@@ -73,7 +73,7 @@ them each to use the class/instance encoding, as per the output of the regions
7373
query. Having the list in priority order will be useful in the future when
7474
placing an object, say during eviction.
7575

76-
.. kernel-doc:: Documentation/gpu/rfc/i915_gem_lmem.h
76+
.. kernel-doc:: include/uapi/drm/i915_drm.h
7777
:functions: drm_i915_gem_create_ext_memory_regions
7878

7979
One fair criticism here is that this seems a little over-engineered[2]. If we

0 commit comments

Comments
 (0)