diff options
| author | Danilo Krummrich <dakr@kernel.org> | 2026-03-25 01:39:17 +0100 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-03-27 21:48:23 +0100 |
| commit | 15a4bb87abac5229a4c36e34d388c4279d984b96 (patch) | |
| tree | 98cb9bd0f98903d1998eb11b3d7ce746667c65fc /tools/perf/scripts/python | |
| parent | d1619a433806c61d240a1eb9b4f03cb33ac40fce (diff) | |
gpu: nova-core: use sized array for GSP log buffers
Switch LogBuffer from Coherent<[u8]> (unsized) to
Coherent<[u8; LOG_BUFFER_SIZE]> (sized). The buffer size is a
compile-time constant (RM_LOG_BUFFER_NUM_PAGES * GSP_PAGE_SIZE), so a
fixed-size array is more precise and avoids the need for the runtime
length parameter of zeroed_slice().
Acked-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Link: https://patch.msgid.link/20260325003921.3420-3-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
