Skip to content

Commit c8e1fe6

Browse files
committed
fixup! drm/asahi: buffer: Add tags to all the buffers
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 1716aed commit c8e1fe6

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

drivers/gpu/drm/asahi/buffer.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -591,11 +591,13 @@ impl Buffer::ver {
591591
// priv seems to work and might be faster?
592592
// Needs to be FW-writable anyway, so ualloc
593593
// won't work.
594-
let buf =
595-
Arc::try_new(inner.ualloc_priv.lock().array_empty_tagged(
594+
let buf = Arc::new(
595+
inner.ualloc_priv.lock().array_empty_tagged(
596596
(tpc_size + mmu::UAT_PGMSK) & !mmu::UAT_PGMSK,
597597
b"TPC ",
598-
)?)?;
598+
)?,
599+
GFP_KERNEL,
600+
)?;
599601
inner.tpc = Some(buf.clone());
600602
buf
601603
}

0 commit comments

Comments
 (0)