diff options
| author | Alistair Popple <apopple@nvidia.com> | 2026-09-09 16:44:57 +1000 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-09-27 14:02:20 +0200 |
| commit | 342aaa7bb3cc1066ae9055c936b667ecd66de0ec (patch) | |
| tree | affa80638e06a85f7d53579528f7fdfa5346e00a /tools/lib/python/kdoc | |
| parent | ecedc604e0aa84838f67ee309a8db1076940e3c2 (diff) | |
drm: nova: Add GPU architecture enum to nova-drm UAPI
The GPU architecture to be exposed to user-space. This adds a public
enum to the userspace headers for each chip architecture. Nova-core can
then use this enum to define its architectures.
This does create a coupling between nova-drm and nova-core whereby
nova-core depends on the values defined by the user-space API for
nova-drm. However this is entirely appropriate as nova-core must be
bound by the UAPI headers as the enum values are read by nova-core and
passed through to user-space.
It also requires a minor change to the bounded_enum! macro to match the
architecture values in an expression context.
Signed-off-by: Alistair Popple <apopple@nvidia.com>
Link: https://patch.msgid.link/20260909064506.910162-5-apopple@nvidia.com
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
