Skip to content

Commit 4af79b7

Browse files
committed
drm/asahi: workqueue: Fix "Cannot submit, but queue is empty?" bug
Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent 1e4b90c commit 4af79b7

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

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

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

0 commit comments

Comments
 (0)