diff options
| author | Alexandre Courbot <[email protected]> | 2025-05-07 13:52:33 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2025-05-13 13:08:57 +0000 |
| commit | e4bc82af9e8b095c0f7a5aa9050b780002bd0933 (patch) | |
| tree | f8718dc38ead92630518176713e339474773e1f5 /drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c | |
| parent | gpu: nova-core: define registers layout using helper macro (diff) | |
| download | kernel-e4bc82af9e8b095c0f7a5aa9050b780002bd0933.tar.gz kernel-e4bc82af9e8b095c0f7a5aa9050b780002bd0933.zip | |
gpu: nova-core: fix layout of NV_PMC_BOOT_0
The layout of NV_PMC_BOOT_0 has two small issues:
- The "chipset" field, while useful to identify a chip, is actually an
aggregate of two distinct fields named "architecture" and
"implementation".
- The "architecture" field is split, with its MSB being at a different
location than the rest of its bits.
Redefine the register layout to match its actual definition as provided
by OpenRM and expose the fully-constructed "architecture" field through
our own "Architecture" type. The "chipset" pseudo-field is also useful
to have, so keep providing it.
Signed-off-by: Alexandre Courbot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ Use Result from kernel::prelude. - Danilo ]
Signed-off-by: Danilo Krummrich <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c')
0 files changed, 0 insertions, 0 deletions
