<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/drm/ttm, branch v5.10.257</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v5.10.257</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v5.10.257'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2023-08-11T09:57:44+00:00</updated>
<entry>
<title>drm/ttm: make ttm_bo_unpin more defensive</title>
<updated>2023-08-11T09:57:44+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2021-03-12T08:34:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4148f28f9824c00f81e41e729ee0a001d274a566'/>
<id>urn:sha1:4148f28f9824c00f81e41e729ee0a001d274a566</id>
<content type='text'>
commit 6c5403173a13a08ff61dbdafa4c0ed4a9dedbfe0 upstream.

We seem to have some more driver bugs than thought.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Fixes: deb0814b43f3 ("drm/ttm: add ttm_bo_pin()/ttm_bo_unpin() v2")
Acked-by: Matthew Auld &lt;matthew.auld@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20210312093810.2202-1-christian.koenig@amd.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drm/ttm: add ttm_bo_pin()/ttm_bo_unpin() v2</title>
<updated>2023-08-11T09:57:33+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2020-09-21T11:05:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=5f6d5b58c59e6ded30f60e899b8c8bae80b1c5a8'/>
<id>urn:sha1:5f6d5b58c59e6ded30f60e899b8c8bae80b1c5a8</id>
<content type='text'>
[ Upstream commit deb0814b43f370a448a498409d949e38c9d8f02e ]

As an alternative to the placement flag add a
pin count to the ttm buffer object.

v2: add dma_resv_assert_help() calls

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Dave Airlie &lt;airlied@redhat.com&gt;
Reviewed-by: Huang Rui &lt;ray.huang@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/391596/?series=81973&amp;rev=1
Stable-dep-of: a2848d08742c ("drm/ttm: never consider pinned BOs for eviction&amp;swap")
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>drm/ttm: drop evicted from ttm_bo.</title>
<updated>2020-09-17T20:23:38+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2020-09-17T06:13:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=4856e5aa0ef1d4c62f6f30bf273a778735507837'/>
<id>urn:sha1:4856e5aa0ef1d4c62f6f30bf273a778735507837</id>
<content type='text'>
This was unused.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200917064132.148521-3-airlied@gmail.com
</content>
</entry>
<entry>
<title>drm/ttm: drop special pipeline accel cleanup function.</title>
<updated>2020-09-17T20:23:06+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2020-09-17T06:36:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=e46f468fef953dea30e7a7c69ad7e0370af26855'/>
<id>urn:sha1:e46f468fef953dea30e7a7c69ad7e0370af26855</id>
<content type='text'>
The two accel cleanup paths were mostly the same once refactored.

Just pass a bool to say if the evictions are to be pipelined.

Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200917064132.148521-2-airlied@gmail.com
</content>
</entry>
<entry>
<title>drm/ttm: add a simple assign mem to bo wrapper</title>
<updated>2020-09-17T20:16:39+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2020-09-17T04:03:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=2ee476f77ffe5a7ecbd4e1e20fa0859cb541530d'/>
<id>urn:sha1:2ee476f77ffe5a7ecbd4e1e20fa0859cb541530d</id>
<content type='text'>
This pattern is called in a few places, just clean it up.

Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200917043040.146575-6-airlied@gmail.com
</content>
</entry>
<entry>
<title>drm/ttm: flip tt destroy ordering.</title>
<updated>2020-09-17T20:14:41+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2020-09-17T03:20:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=7626168fd132009c79a0457bccc58014abc738f5'/>
<id>urn:sha1:7626168fd132009c79a0457bccc58014abc738f5</id>
<content type='text'>
Call the driver first and have it call the common code cleanup.

This is useful later to fix unbind.

Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200917043040.146575-3-airlied@gmail.com
</content>
</entry>
<entry>
<title>drm/ttm: protect against reentrant bind in the drivers</title>
<updated>2020-09-17T20:14:00+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2020-09-17T02:54:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=0b988ca1c7c4c73983b4ea96ef7c2af2263c87eb'/>
<id>urn:sha1:0b988ca1c7c4c73983b4ea96ef7c2af2263c87eb</id>
<content type='text'>
This moves the generic tracking into the drivers and protects
against reentrancy in the drivers. It fixes up radeon and agp
to be able to query the bound status as that is required.

Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200917043040.146575-2-airlied@gmail.com
</content>
</entry>
<entry>
<title>drm/ttm: remove superflous extern attribute from funcs</title>
<updated>2020-09-17T14:14:42+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2020-09-16T13:31:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=67d6a8b358eac488112a4775f77dc3dbf63bea88'/>
<id>urn:sha1:67d6a8b358eac488112a4775f77dc3dbf63bea88</id>
<content type='text'>
Extern is the default attribute for functions anyway.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Daniel Vetter &lt;daniel.vetter@ffwll.ch&gt;
Link: https://patchwork.freedesktop.org/patch/390972/
</content>
</entry>
<entry>
<title>drm/ttm: some cleanups</title>
<updated>2020-09-17T09:44:04+00:00</updated>
<author>
<name>Christian König</name>
<email>christian.koenig@amd.com</email>
</author>
<published>2020-09-15T14:29:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=36183150e086977cadcffba84ecd84cbbeec9324'/>
<id>urn:sha1:36183150e086977cadcffba84ecd84cbbeec9324</id>
<content type='text'>
Unexport ttm_check_under_lowerlimit.
Make ttm_bo_acc_size static and unexport it.
Remove ttm_get_kernel_zone_memory_size.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/390515/
</content>
</entry>
<entry>
<title>drm/ttm: move populated state into page flags</title>
<updated>2020-09-15T23:36:19+00:00</updated>
<author>
<name>Dave Airlie</name>
<email>airlied@redhat.com</email>
</author>
<published>2020-09-15T01:47:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3312be8f6fc8a8dc7cef01986dbd436eab7af0f7'/>
<id>urn:sha1:3312be8f6fc8a8dc7cef01986dbd436eab7af0f7</id>
<content type='text'>
Just use the top bit of page flags to store the populated state.

Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/20200915024007.67163-8-airlied@gmail.com
</content>
</entry>
</feed>
