Skip to content

Commit 9ff27ec

Browse files
committed
drm/asahi: compute: Allow no preemption flag
Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent 56f1bce commit 9ff27ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/asahi/queue/compute.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl super::Queue::ver {
7272
}
7373
let cmdbuf = unsafe { cmdbuf.assume_init() };
7474

75-
if cmdbuf.flags != 0 {
75+
if cmdbuf.flags & !(uapi::ASAHI_COMPUTE_NO_PREEMPTION as u64) != 0 {
7676
return Err(EINVAL);
7777
}
7878

0 commit comments

Comments
 (0)