Skip to content

Commit 8b6329a

Browse files
committed
fixup! drm/asahi: queue: Split into Queue and QueueInner
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent a3980ba commit 8b6329a

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

  • drivers/gpu/drm/asahi/queue

drivers/gpu/drm/asahi/queue/mod.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -443,14 +443,13 @@ impl Queue::ver {
443443
inner: QueueInner::ver {
444444
dev: dev.into(),
445445
ualloc,
446-
gpu_context: Arc::try_new(workqueue::GpuContext::new(
447-
dev,
448-
alloc,
449-
buffer.as_ref().map(|b| b.any_ref()),
450-
)?)?,
446+
gpu_context: Arc::new(
447+
workqueue::GpuContext::new(dev, alloc, buffer.as_ref().map(|b| b.any_ref()))?,
448+
GFP_KERNEL,
449+
)?,
451450

452451
buffer,
453-
notifier_list: Arc::try_new(notifier_list)?,
452+
notifier_list: Arc::new(notifier_list, GFP_KERNEL)?,
454453
notifier,
455454
id,
456455
#[ver(V >= V13_0B4)]

0 commit comments

Comments
 (0)