<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/include/drm/ttm/ttm_bo.h, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2025-09-17T12:03:21Z</updated>
<entry>
<title>drm/ttm: rename ttm_bo_put to _fini v3</title>
<updated>2025-09-17T12:03:21Z</updated>
<author>
<name>Christian König</name>
</author>
<published>2025-06-13T12:09:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed7a4397f55bfacf2c4c3e466940ed4961707094'/>
<id>urn:sha1:ed7a4397f55bfacf2c4c3e466940ed4961707094</id>
<content type='text'>
Give TTM BOs a separate cleanup function.

No funktional change, but the next step in removing the TTM BO reference
counting and replacing it with the GEM object reference counting.

v2: move the code around a bit to make it clearer what's happening
v3: fix nouveau_bo_fini as well

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Acked-by: Thomas Hellström &lt;thomas.hellstrom@linux.intel.com&gt;
Acked-by: Joonas Lahtinen &lt;joonas.lahtinen@linux.intel.com&gt;
Link: https://lore.kernel.org/r/20250909144311.1927-1-christian.koenig@amd.com
</content>
</entry>
<entry>
<title>ttm/bo: add an API to populate a bo before exporting.</title>
<updated>2025-09-11T00:01:38Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2025-09-04T02:16:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=50243079865ae7c150bc54ea3ed59077cdf3da03'/>
<id>urn:sha1:50243079865ae7c150bc54ea3ed59077cdf3da03</id>
<content type='text'>
While discussing cgroups we noticed a problem where you could export
a BO to a dma-buf without having it ever being backed or accounted for.

This meant in low memory situations or eventually with cgroups, a
lower privledged process might cause the compositor to try and allocate
a lot of memory on it's behalf and this could fail. At least make
sure the exporter has managed to allocate the RAM at least once
before exporting the object.

This only applies currently to TTM_PL_SYSTEM objects, because
GTT objects get populated on first validate, and VRAM doesn't
use TT.

Reviewed-by: Christian Koenig &lt;christian.koenig@amd.com&gt;
Cc: Thomas Hellström &lt;thomas.hellstrom@linux.intel.com&gt;
Cc: Simona Vetter &lt;simona.vetter@ffwll.ch&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Reviewed-by: Thomas Hellström &lt;thomas.hellstrom@linux.intel.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
Link: https://lore.kernel.org/r/20250904021643.2050497-1-airlied@gmail.com
</content>
</entry>
<entry>
<title>Merge tag 'drm-intel-next-2025-07-04' of https://gitlab.freedesktop.org/drm/i915/kernel into drm-next</title>
<updated>2025-07-08T12:07:44Z</updated>
<author>
<name>Simona Vetter</name>
</author>
<published>2025-07-08T12:07:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=69d09a26096c187742fa7040ef9b2925becf00f4'/>
<id>urn:sha1:69d09a26096c187742fa7040ef9b2925becf00f4</id>
<content type='text'>
drm/i915 feature pull #2 for v6.17:

Features and functionality:
- Add drm_panic support for both i915 and xe drivers (Jocelyn Falempe)
- Add initial flip queue implementation, disabled by default, for LNL and PTL
  (Ville)
- Add support for Wildcat Lake (WCL) display, version 30.02 (Matt Roper, Matt
  Atwood, Dnyaneshwar)
- Extend drm_panel and follower support to DDI eDP (Arun)

Refactoring and cleanups:
- Make all global state objects opaque (Jani)
- Move display works to display specific unordered workqueue (Luca)
- Add and use struct drm_device based pcode interface (Jani, Lucas)
- Use clamp() instead of max()+min() combo (Ankit)
- Simplify wait for power well disable (Jani)
- Various stylistics cleanups and renames (Jani)

Fixes:
- Deal with loss of pipe DMC state (Ville)
- Fix PTL HDCP2 stream status check (Suraj)
- Add workaround for ADL-P DKL PHY DP and HDMI (Nemesa)
- Fix skl_print_wm_changes() stack usage with KMSAN (Arnd Bergmann)
- Fix PCON capability reads on non-branch devices (Chaitanya)
- Fix which platforms have ultra joiner (Ankit)

DRM core changes:
- Add ttm_bo_kmap_try_from_panic() for xe drm_panic support (Jocelyn Falempe)
- Add private pointer to struct drm_scanout buffer for xe/i915 drm_panic support
  (Jocelyn Falempe)

Merges:
- Backmerge drm-next for drm_panel and xe changes (Jani)

Signed-off-by: Simona Vetter &lt;simona.vetter@ffwll.ch&gt;
From: Jani Nikula &lt;jani.nikula@intel.com&gt;
Link: https://patchwork.freedesktop.org/patch/msgid/6d728bf6ef23681b00dfbc7da9aeae41042dee02@intel.com
</content>
</entry>
<entry>
<title>drm/ttm: Add ttm_bo_kmap_try_from_panic()</title>
<updated>2025-06-27T09:48:22Z</updated>
<author>
<name>Jocelyn Falempe</name>
</author>
<published>2025-06-24T09:01:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=718370ff283284f191155a5eb9d4f376aaf93bb8'/>
<id>urn:sha1:718370ff283284f191155a5eb9d4f376aaf93bb8</id>
<content type='text'>
If the ttm bo is backed by pages, then it's possible to safely kmap
one page at a time, using kmap_try_from_panic().
Unfortunately there is no way to do the same with ioremap, so it
only supports the kmap case.
This is needed for proper drm_panic support with xe driver.

Signed-off-by: Jocelyn Falempe &lt;jfalempe@redhat.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Link: https://lore.kernel.org/r/20250624091501.257661-6-jfalempe@redhat.com
Signed-off-by: Maarten Lankhorst &lt;dev@lankhorst.se&gt;
</content>
</entry>
<entry>
<title>drm/ttm, drm_xe, Implement ttm_lru_walk_for_evict() using the guarded LRU iteration</title>
<updated>2025-06-26T15:20:00Z</updated>
<author>
<name>Thomas Hellström</name>
</author>
<published>2025-06-23T15:53:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bb8aa27eff6f3376242da37c2d02b9dcc66934b1'/>
<id>urn:sha1:bb8aa27eff6f3376242da37c2d02b9dcc66934b1</id>
<content type='text'>
To avoid duplicating the tricky bo locking implementation,
Implement ttm_lru_walk_for_evict() using the guarded bo LRU iteration.

To facilitate this, support ticketlocking from the guarded bo LRU
iteration.

v2:
- Clean up some static function interfaces (Christian König)
- Fix Handling -EALREADY from ticketlocking in the loop by
  skipping to the next item. (Intel CI)

Signed-off-by: Thomas Hellström &lt;thomas.hellstrom@linux.intel.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Link: https://lore.kernel.org/r/20250623155313.4901-4-thomas.hellstrom@linux.intel.com
</content>
</entry>
<entry>
<title>drm/ttm, drm/xe: Modify the struct ttm_bo_lru_walk_cursor initialization</title>
<updated>2025-06-26T15:15:32Z</updated>
<author>
<name>Thomas Hellström</name>
</author>
<published>2025-06-23T15:53:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1e85eb0a977f1eb1d17d4627aceaa8eeac37159'/>
<id>urn:sha1:e1e85eb0a977f1eb1d17d4627aceaa8eeac37159</id>
<content type='text'>
Instead of the struct ttm_operation_ctx, Pass a struct ttm_lru_walk_arg
to enable us to easily extend the walk functionality, and to
implement ttm_lru_walk_for_evict() using the guarded LRU iteration.

Signed-off-by: Thomas Hellström &lt;thomas.hellstrom@linux.intel.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Link: https://lore.kernel.org/r/20250623155313.4901-3-thomas.hellstrom@linux.intel.com
</content>
</entry>
<entry>
<title>drm/ttm: Use a struct for the common part of struct ttm_lru_walk and struct ttm_bo_lru_cursor</title>
<updated>2025-06-26T15:15:31Z</updated>
<author>
<name>Thomas Hellström</name>
</author>
<published>2025-06-23T15:53:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c8e3d6d77507c42cc1a02783f70e1e4e85e3c80f'/>
<id>urn:sha1:c8e3d6d77507c42cc1a02783f70e1e4e85e3c80f</id>
<content type='text'>
Let the locking functions take the new struct ttm_lru_walk_arg
as argument in order for them to be easily used from both
types of walk.

v2:
- Whitespace fix

Signed-off-by: Thomas Hellström &lt;thomas.hellstrom@linux.intel.com&gt;
Reviewed-by: Christian König &lt;christian.koenig@amd.com&gt;
Link: https://lore.kernel.org/r/20250623155313.4901-2-thomas.hellstrom@linux.intel.com
</content>
</entry>
<entry>
<title>drm/ttm: make ttm_bo_get internal</title>
<updated>2025-05-26T13:34:00Z</updated>
<author>
<name>Christian König</name>
</author>
<published>2024-07-16T12:28:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ec1ac835e489b9ab2776c0cbbb1b1ca813923a2'/>
<id>urn:sha1:9ec1ac835e489b9ab2776c0cbbb1b1ca813923a2</id>
<content type='text'>
Prevent drivers from using this directly.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Matthew Brost &lt;matthew.brost@intel.com&gt;
Reviewed-by: Simona Vetter &lt;simona.vetter@ffwll.ch&gt;
Link: https://lore.kernel.org/r/20240723121750.2086-8-christian.koenig@amd.com
</content>
</entry>
<entry>
<title>drm/ttm: revert "Export ttm_bo_get_unless_zero()"</title>
<updated>2025-05-26T13:26:17Z</updated>
<author>
<name>Christian König</name>
</author>
<published>2024-07-12T07:43:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eb314613cd7c5fa5a26a2293d6ea935cf6cfaac0'/>
<id>urn:sha1:eb314613cd7c5fa5a26a2293d6ea935cf6cfaac0</id>
<content type='text'>
This reverts commit 24dc64c1ba5c3ef0463d59fef6df09336754188d.

Shouldn't be needed by drivers any more.

Signed-off-by: Christian König &lt;christian.koenig@amd.com&gt;
Reviewed-by: Matthew Brost &lt;matthew.brost@intel.com&gt;
Reviewed-by: Danilo Krummrich &lt;dakr@kernel.org&gt;
Reviewed-by: Simona Vetter &lt;simona.vetter@ffwll.ch&gt;
Link: https://lore.kernel.org/r/20240723121750.2086-6-christian.koenig@amd.com
</content>
</entry>
<entry>
<title>drm/ttm/xe: drop unused force_alloc flag</title>
<updated>2025-04-23T20:56:35Z</updated>
<author>
<name>Dave Airlie</name>
</author>
<published>2025-04-23T02:21:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55df7c0c62c1727c399fc82150b7f72bee47d4c6'/>
<id>urn:sha1:55df7c0c62c1727c399fc82150b7f72bee47d4c6</id>
<content type='text'>
This flag used to be used in the old memory tracking code, that
code got migrated into the vmwgfx driver[1], and then got removed
from the tree[2], but this piece got left behind.

[1] f07069da6b4c ("drm/ttm: move memory accounting into vmwgfx v4")
[2] 8aadeb8ad874 ("drm/vmwgfx: Remove the dedicated memory accounting")

Cleanup the dead code.

Reviewed-by: Matthew Brost &lt;matthew.brost@intel.com&gt;
Signed-off-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
</entry>
</feed>
