<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/Documentation/gpu/drm-mm.rst, branch linux-6.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-08-03T16:31:49Z</updated>
<entry>
<title>drm/gem: rename GEM CMA helpers to GEM DMA helpers</title>
<updated>2022-08-03T16:31:49Z</updated>
<author>
<name>Danilo Krummrich</name>
</author>
<published>2022-08-02T00:04:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4a83c26a1d8702c516db77fc4423ae896ee904f1'/>
<id>urn:sha1:4a83c26a1d8702c516db77fc4423ae896ee904f1</id>
<content type='text'>
Rename "GEM CMA" helpers to "GEM DMA" helpers - considering the
hierarchy of APIs (mm/cma -&gt; dma -&gt; gem dma) calling them "GEM
DMA" seems to be more applicable.

Besides that, commit e57924d4ae80 ("drm/doc: Task to rename CMA helpers")
requests to rename the CMA helpers and implies that people seem to be
confused about the naming.

In order to do this renaming the following script was used:

```
	#!/bin/bash

	DIRS="drivers/gpu include/drm Documentation/gpu"

	REGEX_SYM_UPPER="[0-9A-Z_\-]"
	REGEX_SYM_LOWER="[0-9a-z_\-]"

	REGEX_GREP_UPPER="(${REGEX_SYM_UPPER}*)(GEM)_CMA_(${REGEX_SYM_UPPER}*)"
	REGEX_GREP_LOWER="(${REGEX_SYM_LOWER}*)(gem)_cma_(${REGEX_SYM_LOWER}*)"

	REGEX_SED_UPPER="s/${REGEX_GREP_UPPER}/\1\2_DMA_\3/g"
	REGEX_SED_LOWER="s/${REGEX_GREP_LOWER}/\1\2_dma_\3/g"

	# Find all upper case 'CMA' symbols and replace them with 'DMA'.
	for ff in $(grep -REHl "${REGEX_GREP_UPPER}" $DIRS)
	do
	       sed -i -E "$REGEX_SED_UPPER" $ff
	done

	# Find all lower case 'cma' symbols and replace them with 'dma'.
	for ff in $(grep -REHl "${REGEX_GREP_LOWER}" $DIRS)
	do
	       sed -i -E "$REGEX_SED_LOWER" $ff
	done

	# Replace all occurrences of 'CMA' / 'cma' in comments and
	# documentation files with 'DMA' / 'dma'.
	for ff in $(grep -RiHl " cma " $DIRS)
	do
		sed -i -E "s/ cma / dma /g" $ff
		sed -i -E "s/ CMA / DMA /g" $ff
	done

	# Rename all 'cma_obj's to 'dma_obj'.
	for ff in $(grep -RiHl "cma_obj" $DIRS)
	do
		sed -i -E "s/cma_obj/dma_obj/g" $ff
	done
```

Only a few more manual modifications were needed, e.g. reverting the
following modifications in some DRM Kconfig files

    -       select CMA if HAVE_DMA_CONTIGUOUS
    +       select DMA if HAVE_DMA_CONTIGUOUS

as well as manually picking the occurrences of 'CMA'/'cma' in comments and
documentation which relate to "GEM CMA", but not "FB CMA".

Also drivers/gpu/drm/Makefile was fixed up manually after renaming
drm_gem_cma_helper.c to drm_gem_dma_helper.c.

This patch is compile-time tested building a x86_64 kernel with
`make allyesconfig &amp;&amp; make drivers/gpu/drm`.

Acked-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Acked-by: Thomas Zimmermann &lt;tzimmermann@suse.de&gt;
Reviewed-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Signed-off-by: Danilo Krummrich &lt;dakr@redhat.com&gt;
Reviewed-by: Liviu Dudau &lt;liviu.dudau@arm.com&gt; #drivers/gpu/drm/arm
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20220802000405.949236-4-dakr@redhat.com
</content>
</entry>
<entry>
<title>drm/doc: pull in drm_buddy.c</title>
<updated>2022-03-08T13:01:35Z</updated>
<author>
<name>Matthew Auld</name>
</author>
<published>2022-02-08T15:12:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=07b58d61275ebbb39b678d18f7c4e472050b13eb'/>
<id>urn:sha1:07b58d61275ebbb39b678d18f7c4e472050b13eb</id>
<content type='text'>
Make sure we pull in the kernel-doc for this.

Reported-by: Daniel Vetter &lt;daniel@ffwll.ch&gt;
Signed-off-by: Matthew Auld &lt;matthew.auld@intel.com&gt;
Cc: Arunpravin &lt;Arunpravin.PaneerSelvam@amd.com&gt;
Cc: Christian König &lt;christian.koenig@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20220208151228.344997-1-matthew.auld@intel.com
Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
</content>
</entry>
<entry>
<title>drm/doc: Fix TTM acronym</title>
<updated>2022-01-19T15:14:45Z</updated>
<author>
<name>José Expósito</name>
</author>
<published>2022-01-07T18:02:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8de223b94b8471b8f9b8cae6279e6fc08564ee67'/>
<id>urn:sha1:8de223b94b8471b8f9b8cae6279e6fc08564ee67</id>
<content type='text'>
The TTM acronym is defined for the first time in the documentation as
"Translation Table Maps". Afterwards, "Translation Table Manager" is
used as definition.

Fix the first definition to avoid confusion.

Signed-off-by: José Expósito &lt;jose.exposito89@gmail.com&gt;
Signed-off-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20220107180230.132666-1-jose.exposito89@gmail.com
</content>
</entry>
<entry>
<title>drm/ttm: enable TTM page pool kerneldoc</title>
<updated>2021-09-09T11:30:14Z</updated>
<author>
<name>Christian König</name>
</author>
<published>2021-09-07T07:42:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=361da7c34216382b7329521c397db0e3e8f6e02b'/>
<id>urn:sha1:361da7c34216382b7329521c397db0e3e8f6e02b</id>
<content type='text'>
Fix the remaining warnings and finally enable this.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-9-christian.koenig@amd.com
</content>
</entry>
<entry>
<title>drm/ttm: enable TTM TT object kerneldoc v2</title>
<updated>2021-09-09T11:29:42Z</updated>
<author>
<name>Christian König</name>
</author>
<published>2021-09-03T12:19:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f4859d084f7b8c72ca3639f6169b74d0340ddb9'/>
<id>urn:sha1:4f4859d084f7b8c72ca3639f6169b74d0340ddb9</id>
<content type='text'>
Fix the remaining warnings and finally enable this.

v2: add caching enum link

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Matthew Auld &lt;matthew.auld@intel.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-8-christian.koenig@amd.com
</content>
</entry>
<entry>
<title>drm/ttm: enable TTM placement kerneldoc</title>
<updated>2021-09-09T11:29:05Z</updated>
<author>
<name>Christian König</name>
</author>
<published>2021-09-03T12:14:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d7fe6f8afead5838bd43adf10a06a66896bfe756'/>
<id>urn:sha1:d7fe6f8afead5838bd43adf10a06a66896bfe756</id>
<content type='text'>
Fix the last remaining warning and finally enable this.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Matthew Auld &lt;matthew.auld@intel.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-7-christian.koenig@amd.com
</content>
</entry>
<entry>
<title>drm/ttm: enable TTM resource object kerneldoc v2</title>
<updated>2021-09-09T11:28:28Z</updated>
<author>
<name>Christian König</name>
</author>
<published>2021-09-03T11:55:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=324317add204db3f938da3539784a91d40f7141c'/>
<id>urn:sha1:324317add204db3f938da3539784a91d40f7141c</id>
<content type='text'>
Fix the last two remaining warnings and finally enable this.

v2: add caching enum link

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Matthew Auld &lt;matthew.auld@intel.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-6-christian.koenig@amd.com
</content>
</entry>
<entry>
<title>drm/ttm: enable TTM device object kerneldoc v2</title>
<updated>2021-09-09T11:27:17Z</updated>
<author>
<name>Christian König</name>
</author>
<published>2021-09-03T11:44:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c5fd9986719e4a75340b38ef4f6157e2c5fbe74d'/>
<id>urn:sha1:c5fd9986719e4a75340b38ef4f6157e2c5fbe74d</id>
<content type='text'>
Fix the remaining warnings, switch to inline structure documentation
and finally enable this.

v2: adjust based on suggestions from Alex

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Matthew Auld &lt;matthew.auld@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-5-christian.koenig@amd.com
</content>
</entry>
<entry>
<title>drm/ttm: add kerneldoc for enum ttm_caching</title>
<updated>2021-09-09T11:26:43Z</updated>
<author>
<name>Christian König</name>
</author>
<published>2021-09-07T07:14:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be77a2f4cfd20aa4a28fc98227bfbfd5e0c232e2'/>
<id>urn:sha1:be77a2f4cfd20aa4a28fc98227bfbfd5e0c232e2</id>
<content type='text'>
Briefly describe what this is all about.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Alex Deucher &lt;alexander.deucher@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-4-christian.koenig@amd.com
</content>
</entry>
<entry>
<title>drm/ttm: add some general module kerneldoc</title>
<updated>2021-09-09T11:25:45Z</updated>
<author>
<name>Christian König</name>
</author>
<published>2021-09-07T07:07:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fcd0bbd619b349a03fcf132bfd65ce8bffc581b7'/>
<id>urn:sha1:fcd0bbd619b349a03fcf132bfd65ce8bffc581b7</id>
<content type='text'>
For now just a brief description of what TTM is all about.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Matthew Auld &lt;matthew.auld@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210908132933.3269-3-christian.koenig@amd.com
</content>
</entry>
</feed>
