]> git.ipfire.org Git - thirdparty/linux.git/commit
gpu: nova-core: take advantage of pci::Device::unbind()
authorDanilo Krummrich <dakr@kernel.org>
Mon, 1 Sep 2025 15:01:53 +0000 (17:01 +0200)
committerAlexandre Courbot <acourbot@nvidia.com>
Sat, 6 Sep 2025 11:07:42 +0000 (20:07 +0900)
commite2580413a83680f679904ad2f2c1aa6969876469
tree23e71277429527d3e2ce391a1d18e92716ff8dd6
parentc58466b85b16f139a4afc6163aa57d7445dae806
gpu: nova-core: take advantage of pci::Device::unbind()

Now that we have pci::Device::unbind() we can unregister the sysmem
flush page with a direct access the I/O resource, i.e. without RCU read
side critical section.

Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://lore.kernel.org/r/20250901150207.63094-1-dakr@kernel.org
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
drivers/gpu/nova-core/driver.rs
drivers/gpu/nova-core/gpu.rs