Skip to content

Commit e57db80

Browse files
jannaujohn-cabaj
authored andcommitted
fixup! drm/asahi: Add the Asahi driver for Apple AGX GPUs
minimal adaptation to kernel API changes Signed-off-by: Janne Grunau <j@jannau.net> (cherry picked from commit 0a7bc74 https://github.com/AsahiLinux/linux) Signed-off-by: John Cabaj <john.cabaj@canonical.com>
1 parent b3628e1 commit e57db80

File tree

1 file changed

+2
-2
lines changed
  • drivers/gpu/drm/asahi/queue

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ impl Queue::ver {
405405
},
406406
)?)?;
407407

408-
let sched = sched::Scheduler::new(dev, WQ_SIZE, 0, 100000, c_str!("asahi_sched"))?;
408+
let sched = sched::Scheduler::new(dev, 3, WQ_SIZE, 0, 100000, c_str!("asahi_sched"))?;
409409
// Priorities are handled by the AGX scheduler, there is no meaning within a
410410
// per-queue scheduler.
411411
let entity = sched::Entity::new(&sched, sched::Priority::Normal)?;
@@ -585,7 +585,7 @@ impl Queue for Queue::ver {
585585
)?
586586
.into();
587587

588-
let mut job = self.entity.new_job(QueueJob::ver {
588+
let mut job = self.entity.new_job(1, QueueJob::ver {
589589
dev: self.dev.clone(),
590590
vm_bind,
591591
op_guard,

0 commit comments

Comments
 (0)