<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/source/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in drm_gpuvm.c</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>37f748ed0c19e007e7c5677f5d605d6b93841792 - drm/gpuvm: rust: add RUST_DRM_GPUVM option to Kconfig</title>
        <link>http://kernelsources.org:8080/source/history/linux/rust/helpers/drm_gpuvm.c#37f748ed0c19e007e7c5677f5d605d6b93841792</link>
        <description>drm/gpuvm: rust: add RUST_DRM_GPUVM option to KconfigSince Rust uses GPUVM via the kernel crate, which is built-in, the GPUVMmodule must also be built-in to use GPUVM from Rust. Adjust the Kconfigsettings accordingly.Suggested-by: Danilo Krummrich &lt;dakr@kernel.org&gt;Signed-off-by: Alice Ryhl &lt;aliceryhl@google.com&gt;Link: https://patch.msgid.link/20260427-gpuvm-config-v1-1-8ece03771f8a@google.comSigned-off-by: Danilo Krummrich &lt;dakr@kernel.org&gt;

            List of files:
            /linux/rust/helpers/drm_gpuvm.c</description>
        <pubDate>Mon, 27 Apr 2026 12:54:51 +0200</pubDate>
        <dc:creator>Alice Ryhl &lt;aliceryhl@google.com&gt;</dc:creator>
    </item>
<item>
        <title>71a3921111bd05298988fad1c58241db13384ea7 - rust: gpuvm: add GpuVm::obtain()</title>
        <link>http://kernelsources.org:8080/source/history/linux/rust/helpers/drm_gpuvm.c#71a3921111bd05298988fad1c58241db13384ea7</link>
        <description>rust: gpuvm: add GpuVm::obtain()This provides a mechanism to create (or look up) VMBO instances, whichrepresent the mapping between GPUVM and GEM objects.The GpuVmBoRegistered&lt;T&gt; type can be considered like ARef&lt;GpuVm&lt;T&gt;&gt;,except that no way to increment the refcount is provided.The GpuVmBoAlloc&lt;T&gt; type is more akin to a pre-allocated GpuVmBo&lt;T&gt;, soit&apos;s not really a GpuVmBo&lt;T&gt; yet. Its destructor could calldrm_gpuvm_bo_destroy_not_in_lists(), but as the type is currentlyprivate and never called anywhere, this perf optimization does not needto happen now.Pre-allocating and obtaining the gpuvm_bo object is exposed as a singlestep. This could theoretically be a problem if one wanted to calldrm_gpuvm_bo_obtain_prealloc() during the fence signalling criticalpath, but that&apos;s not a possibility because:1. Adding the BO to the extobj list requires the resv lock, so it cannot   happen during the fence signalling critical path.2. obtain() requires that the BO is not in the extobj list, so obtain()   must be called before adding the BO to the extobj list.Thus, drm_gpuvm_bo_obtain_prealloc() cannot be called during the fencesignalling critical path. (For extobjs at least.)Reviewed-by: Daniel Almeida &lt;daniel.almeida@collabora.com&gt;Signed-off-by: Alice Ryhl &lt;aliceryhl@google.com&gt;Link: https://patch.msgid.link/20260409-gpuvm-rust-v6-2-b16e6ada7261@google.comSigned-off-by: Danilo Krummrich &lt;dakr@kernel.org&gt;

            List of files:
            /linux/rust/helpers/drm_gpuvm.c</description>
        <pubDate>Thu, 09 Apr 2026 17:26:07 +0200</pubDate>
        <dc:creator>Alice Ryhl &lt;aliceryhl@google.com&gt;</dc:creator>
    </item>
<item>
        <title>82b78182eacf82c1847c6f1fd93d91c15efb69cf - rust: drm: add base GPUVM immediate mode abstraction</title>
        <link>http://kernelsources.org:8080/source/history/linux/rust/helpers/drm_gpuvm.c#82b78182eacf82c1847c6f1fd93d91c15efb69cf</link>
        <description>rust: drm: add base GPUVM immediate mode abstractionAdd a GPUVM abstraction to be used by Rust GPU drivers.GPUVM keeps track of a GPU&apos;s virtual address (VA) space and manages thecorresponding virtual mappings represented by &quot;GPU VA&quot; objects. It alsokeeps track of the gem::Object&lt;T&gt; used to back the mappings throughGpuVmBo&lt;T&gt;.This abstraction is only usable by drivers that wish to use GPUVM inimmediate mode. This allows us to build the locking scheme into the APIdesign. It means that the GEM mutex is used for the GEM gpuva list, andthat the resv lock is used for the extobj list. The evicted list is notyet used in this version.This abstraction provides a special handle called the UniqueRefGpuVm,which is a wrapper around ARef&lt;GpuVm&gt; that provides access to theinterval tree. Generally, all changes to the address space requiresmutable access to this unique handle.Signed-off-by: Asahi Lina &lt;lina+kernel@asahilina.net&gt;Co-developed-by: Daniel Almeida &lt;daniel.almeida@collabora.com&gt;Signed-off-by: Daniel Almeida &lt;daniel.almeida@collabora.com&gt;Reviewed-by: Daniel Almeida &lt;daniel.almeida@collabora.com&gt;Co-developed-by: Alice Ryhl &lt;aliceryhl@google.com&gt;Signed-off-by: Alice Ryhl &lt;aliceryhl@google.com&gt;Link: https://patch.msgid.link/20260409-gpuvm-rust-v6-1-b16e6ada7261@google.comSigned-off-by: Danilo Krummrich &lt;dakr@kernel.org&gt;

            List of files:
            /linux/rust/helpers/drm_gpuvm.c</description>
        <pubDate>Thu, 09 Apr 2026 17:26:06 +0200</pubDate>
        <dc:creator>Asahi Lina &lt;lina+kernel@asahilina.net&gt;</dc:creator>
    </item>
</channel>
</rss>
