Re: [PATCH v2] drm/amd: Refactor find_system_memory()

2025-02-06 Thread Felix Kuehling
On 2025-02-06 16:48, Mario Limonciello wrote: > From: Mario Limonciello > > 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 mem

[PATCH v2] drm/amd: Refactor find_system_memory()

2025-02-06 Thread Mario Limonciello
From: Mario Limonciello 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 functi