We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3980ba commit 8b6329aCopy full SHA for 8b6329a
1 file changed
drivers/gpu/drm/asahi/queue/mod.rs
@@ -443,14 +443,13 @@ impl Queue::ver {
443
inner: QueueInner::ver {
444
dev: dev.into(),
445
ualloc,
446
- gpu_context: Arc::try_new(workqueue::GpuContext::new(
447
- dev,
448
- alloc,
449
- buffer.as_ref().map(|b| b.any_ref()),
450
- )?)?,
+ gpu_context: Arc::new(
+ workqueue::GpuContext::new(dev, alloc, buffer.as_ref().map(|b| b.any_ref()))?,
+ GFP_KERNEL,
+ )?,
451
452
buffer,
453
- notifier_list: Arc::try_new(notifier_list)?,
+ notifier_list: Arc::new(notifier_list, GFP_KERNEL)?,
454
notifier,
455
id,
456
#[ver(V >= V13_0B4)]
0 commit comments