Skip to content

Commit 61c11f3

Browse files
hoshinolinajannau
authored andcommitted
drm/asahi: workqueue: Fix "Cannot submit, but queue is empty?" bug
Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent e766260 commit 61c11f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/asahi/workqueue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ impl Job::ver {
443443

444444
inner.pending.reserve(command_count, GFP_KERNEL)?;
445445

446-
inner.last_submitted = inner.event.as_ref().map(|e| e.1);
446+
inner.last_submitted = Some(self.event_info.value);
447447
mod_dev_dbg!(
448448
inner.dev,
449449
"WorkQueue: submitting {} cmds at {:#x?}, lc {:#x?}, cur {:#x?}, pending {}, events {}\n",

0 commit comments

Comments
 (0)