]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gpu: nova-core: Simplify `DmaObject::from_data` in nova-core/dma.rs
authorDaniel del Castillo <delcastillodelarosadaniel@gmail.com>
Tue, 4 Nov 2025 19:37:50 +0000 (20:37 +0100)
committerAlexandre Courbot <acourbot@nvidia.com>
Fri, 7 Nov 2025 14:10:44 +0000 (23:10 +0900)
commit3577e265e4bdb09441941a52c1bf9dfd1e27d707
tree8b787b654ad00f8da524a1d5791977e6e7a55733
parent571ce401a78ee9cb5992b74d36df1b6a8ffd4b16
gpu: nova-core: Simplify `DmaObject::from_data` in nova-core/dma.rs

This patch solves one of the existing mentions of COHA, a task
in the Nova task list about improving the `CoherentAllocation` API.
It uses the `write` method from `CoherentAllocation`.

Signed-off-by: Daniel del Castillo <delcastillodelarosadaniel@gmail.com>
[acourbot@nvidia.com: set prefix to "gpu: nova-core:".]
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Message-ID: <20251104193756.57726-3-delcastillodelarosadaniel@gmail.com>
drivers/gpu/nova-core/dma.rs