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
Fix condvar usage after
0a7f5ba ("rust: sync: Makes `CondVar::wait()` an uninterruptible wait")

Signed-off-by: Janne Grunau <[email protected]>
  • Loading branch information
jannau authored and herrnst committed May 30, 2024
1 parent 2dea3f5 commit 6764a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/asahi/slotalloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ impl<T: SlotItem> SlotAllocator<T> {
);
}
first = false;
if self.0.cond.wait(&mut inner) {
if self.0.cond.wait_interruptible(&mut inner) {
return Err(ERESTARTSYS);
}
} else {
Expand Down

0 comments on commit 6764a5a

Please sign in to comment.