<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-next.git/rust/kernel/drm/gpuvm/sm_ops.rs, branch master</title>
<subtitle>Linux kernel latest source</subtitle>
<id>http://mirrors.hust.edu.cn/git/linux-next.git/atom?h=master</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/linux-next.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/'/>
<updated>2026-06-12T20:28:36+00:00</updated>
<entry>
<title>rust: drm: gpuvm: add SmContext lifetime bound</title>
<updated>2026-06-12T20:28:36+00:00</updated>
<author>
<name>Boris Brezillon</name>
<email>boris.brezillon@collabora.com</email>
</author>
<published>2026-06-11T00:04:31+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=5f7410aa26524101d34b627fbe16670b1514962c'/>
<id>urn:sha1:5f7410aa26524101d34b627fbe16670b1514962c</id>
<content type='text'>
If a DriverGpuVm implementation is lifetime-parameterized, its
SmContext&lt;'ctx&gt; type may depend on lifetimes carried by that driver
implementation. In this case, SmContext&lt;'ctx&gt; is only valid if the
driver implementation outlives 'ctx.

Add a Self: 'ctx bound to DriverGpuVm::SmContext&lt;'ctx&gt; to express that
requirement. Then propagate the corresponding T: 'ctx bound to the GPUVM
state machine helper types that store T::SmContext&lt;'ctx&gt;.

This allows drivers to provide lifetime-parameterized implementations of
DriverGpuVm.

Signed-off-by: Boris Brezillon &lt;boris.brezillon@collabora.com&gt;
Signed-off-by: Deborah Brouwer &lt;deborah.brouwer@collabora.com&gt;
Reviewed-by: Alice Ryhl &lt;aliceryhl@google.com&gt;
Link: https://patch.msgid.link/20260610-gpuvm_smcontext_lifetime_bound_v1-v1-1-531e7d2ee7b4@collabora.com
Signed-off-by: Danilo Krummrich &lt;dakr@kernel.org&gt;
</content>
</entry>
<entry>
<title>rust: gpuvm: add GpuVmCore::sm_map()</title>
<updated>2026-05-05T10:52:49+00:00</updated>
<author>
<name>Alice Ryhl</name>
<email>aliceryhl@google.com</email>
</author>
<published>2026-04-09T15:26:10+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=0b715b1e382b3d2e15d71c03a23be5f4333e7894'/>
<id>urn:sha1:0b715b1e382b3d2e15d71c03a23be5f4333e7894</id>
<content type='text'>
Finally also add the operation for creating new mappings. Mapping
operations need extra data in the context since they involve a vm_bo
coming from the outside.

Co-developed-by: Asahi Lina &lt;lina+kernel@asahilina.net&gt;
Signed-off-by: Asahi Lina &lt;lina+kernel@asahilina.net&gt;
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-5-b16e6ada7261@google.com
Signed-off-by: Danilo Krummrich &lt;dakr@kernel.org&gt;
</content>
</entry>
<entry>
<title>rust: gpuvm: add GpuVmCore::sm_unmap()</title>
<updated>2026-05-05T10:52:49+00:00</updated>
<author>
<name>Alice Ryhl</name>
<email>aliceryhl@google.com</email>
</author>
<published>2026-04-09T15:26:09+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/linux-next.git/commit/?id=dc3846045f694eef0606697e2304099cba403691'/>
<id>urn:sha1:dc3846045f694eef0606697e2304099cba403691</id>
<content type='text'>
Add the entrypoint for unmapping ranges in the GPUVM, and provide
callbacks and VA types for the implementation.

Co-developed-by: Asahi Lina &lt;lina+kernel@asahilina.net&gt;
Signed-off-by: Asahi Lina &lt;lina+kernel@asahilina.net&gt;
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-4-b16e6ada7261@google.com
Signed-off-by: Danilo Krummrich &lt;dakr@kernel.org&gt;
</content>
</entry>
</feed>
