diff options
| author | Alistair Popple <apopple@nvidia.com> | 2026-09-09 16:45:04 +1000 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-09-27 14:10:48 +0200 |
| commit | 391cc215d22c5137d71b93a846266489ba7d98bd (patch) | |
| tree | 3cd0efe3a5998eb5e7ce428d137f55b615c07c64 /tools/lib/python/kdoc/python_version.py | |
| parent | 843bb3ccde8e16f55e33a10a6c3da3e0a76db6ef (diff) | |
drm: nova: Report GPU name in GPU info
Add the full GPU name to the GPU info structure. The name is copied from
the validated, NUL-terminated string nova-core already extracts from the
GSP static info rather than from the raw firmware bytes.
GpuInfo::new() is deliberately fallible here. A malformed name string
from the GSP is unexpected and is reported to userspace as an error
rather than being silently replaced with an empty name.
Signed-off-by: Alistair Popple <apopple@nvidia.com>
Link: https://patch.msgid.link/20260909064506.910162-12-apopple@nvidia.com
[ Use ..pin_init::zeroed() instead of ..default::Default(). - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
