Skip to content

Commit 3365362

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 70cd894 commit 3365362

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
@@ -440,7 +440,7 @@ impl Job::ver {
440440

441441
inner.pending.reserve(command_count, GFP_KERNEL)?;
442442

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

0 commit comments

Comments
 (0)