diff options
| author | Mario Limonciello <[email protected]> | 2025-02-06 21:48:35 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-02-13 02:04:09 +0000 |
| commit | 0a0bd4f95cb33150b63d4f5bb02dc45c5557c483 (patch) | |
| tree | c9b38a607b621eacb3344c286b4a237290606075 /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | |
| parent | drm/amdgpu: reset psp->cmd to NULL after releasing the buffer (diff) | |
| download | kernel-0a0bd4f95cb33150b63d4f5bb02dc45c5557c483.tar.gz kernel-0a0bd4f95cb33150b63d4f5bb02dc45c5557c483.zip | |
drm/amd: Refactor find_system_memory()
find_system_memory() pulls out two fields from an SMBIOS type 17
device and sets them on KFD devices. The data offsets are counted
to find interesting data.
Instead use a struct representation to access the members and pull
out the two specific fields.
No intended functional changes.
Link: https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.8.0.pdf p99
Reviewed-by: Felix Kuehling <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mario Limonciello <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c')
0 files changed, 0 insertions, 0 deletions
