Skip to content

Commit 9433f3d

Browse files
committed
fixup! drm/asahi: Convert to GPUVM and implement more VM_BIND ops
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 6d1887e commit 9433f3d

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

drivers/gpu/drm/asahi/alloc.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -870,8 +870,11 @@ impl HeapAllocator {
870870
new_top
871871
);
872872

873-
self.mm
874-
.with_inner(|inner| inner.backing_objects.try_push((obj, mapping, gpu_ptr)))?;
873+
self.mm.with_inner(|inner| {
874+
inner
875+
.backing_objects
876+
.push((obj, mapping, gpu_ptr), GFP_KERNEL)
877+
})?;
875878

876879
self.top = new_top;
877880

0 commit comments

Comments
 (0)