Skip to content

Commit

Permalink
fixup! drm/asahi: Add the Asahi driver for Apple AGX GPUs
Browse files Browse the repository at this point in the history
minimal adaptation to kernel API changes

Signed-off-by: Janne Grunau <[email protected]>
  • Loading branch information
jannau authored and herrnst committed May 30, 2024
1 parent e960ddc commit 2dea3f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/gpu/drm/asahi/queue/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ impl Queue::ver {
},
)?)?;

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

let mut job = self.entity.new_job(QueueJob::ver {
let mut job = self.entity.new_job(1, QueueJob::ver {
dev: self.dev.clone(),
vm_bind,
op_guard,
Expand Down

0 comments on commit 2dea3f5

Please sign in to comment.