diff options
| author | 2026-01-29 16:45:02 +0900 | |
|---|---|---|
| committer | 2026-02-25 08:16:55 +0900 | |
| commit | f64caf673cb5add9ac2065609a52049e2317c498 (patch) | |
| tree | 7921d825db0ccd8d6a466d22b077ed820d7c4908 /scripts/Makefile.thinlto | |
| parent | gpu: nova-core: gsp: use empty slices instead of [0..0] ranges (diff) | |
gpu: nova-core: gsp: fix improper handling of empty slot in cmdq
The current code hands out buffers that go all the way up to and
including `rx - 1`, but we need to maintain an empty slot to prevent the
ring buffer from wrapping around into having 'tx == rx', which means
empty.
Also add more rigorous no-panic proofs.
Fixes: 75f6b1de8133 ("gpu: nova-core: gsp: Add GSP command queue bindings and handling")
Signed-off-by: Eliot Courtney <ecourtney@nvidia.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://patch.msgid.link/20260129-nova-core-cmdq1-v3-4-2ede85493a27@nvidia.com
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
