diff options
| author | Zhi Wang <zhiw@nvidia.com> | 2026-07-01 09:26:20 +0300 |
|---|---|---|
| committer | Alexandre Courbot <acourbot@nvidia.com> | 2026-07-08 22:23:21 +0900 |
| commit | d85845b64c0020b2812243a22fa79d57cc1c1e38 (patch) | |
| tree | fe1fa1aeb6c5a33be8027bdd9ec6d1c4598f2111 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 2493c4416542ce1759d6dcd0a2b1f0ed18ab8c35 (diff) | |
gpu: nova-core: build SetRegistry entries dynamically
The GSP SetRegistry command currently stores its registry entries in a
fixed-size array. That makes every additional runtime-dependent registry
object require reshaping the command data structure at the same time as the
feature that needs the new entry.
Keep the existing registry contents unchanged, but store them in a KVec so
SetRegistry can be constructed dynamically. The constructor now returns a
Result to propagate allocation failures while the command payload layout is
still computed from the final entry list.
Cc: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Zhi Wang <zhiw@nvidia.com>
Link: https://patch.msgid.link/20260701062622.3499033-7-zhiw@nvidia.com
[acourbot: remove orphan comment.]
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
