mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-15 17:48:22 +02:00
nak: Don't se .yld or .reuse_mask on Blackwell+
These appear to be gone and everything works without setting them so let's just treat them like missing bits for now. According to the CUDA 12.8 disassembler, they still do something but it's not the same thing they did before and I don't have docs to tell me what they really do. Best to just not set them. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35843>
This commit is contained in:
parent
1f990187ca
commit
2feedeeecb
1 changed files with 4 additions and 2 deletions
|
|
@ -214,11 +214,13 @@ impl SM70Encoder<'_> {
|
|||
|
||||
fn set_instr_deps(&mut self, deps: &InstrDeps) {
|
||||
self.set_field(105..109, deps.delay);
|
||||
self.set_bit(109, deps.yld);
|
||||
self.set_field(110..113, deps.wr_bar().unwrap_or(7));
|
||||
self.set_field(113..116, deps.rd_bar().unwrap_or(7));
|
||||
self.set_field(116..122, deps.wt_bar_mask);
|
||||
self.set_field(122..126, deps.reuse_mask);
|
||||
if self.sm < 120 {
|
||||
self.set_bit(109, deps.yld);
|
||||
self.set_field(122..126, deps.reuse_mask);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue