We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06eb307 commit b98e436Copy full SHA for b98e436
1 file changed
drivers/gpu/drm/asahi/event.rs
@@ -153,7 +153,7 @@ impl EventManager {
153
for slot in 0..NUM_EVENTS {
154
inner.stamps[slot as usize]
155
.0
156
- .store((slot as u32) << 24, Ordering::Relaxed);
+ .store(slot << 24, Ordering::Relaxed);
157
}
158
159
Ok(EventManager {
@@ -229,7 +229,6 @@ impl EventManager {
229
) -> Option<Arc<dyn workqueue::WorkQueue + Send + Sync>> {
230
self.alloc
231
.with_inner(|inner| inner.owners[slot as usize].as_ref().cloned())
232
- .map(|a| a.clone())
233
234
235
/// Fail all commands, used when the GPU crashes.
0 commit comments