aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2025-02-06 21:48:35 +0000
committerAlex Deucher <[email protected]>2025-02-13 02:04:09 +0000
commit0a0bd4f95cb33150b63d4f5bb02dc45c5557c483 (patch)
treec9b38a607b621eacb3344c286b4a237290606075 /drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
parentdrm/amdgpu: reset psp->cmd to NULL after releasing the buffer (diff)
downloadkernel-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