drm/amdkfd: Add cache line sizes to KFD topology
authorJoseph Greathouse <Joseph.Greathouse@amd.com>
Sat, 20 Jan 2024 02:01:50 +0000 (20:01 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Feb 2024 17:25:51 +0000 (12:25 -0500)
commit5a2df8ecba868e91fa4eff393ceef34d134fe916
treefb8c7911f607a942c62cc9ad314689ae74448ed4
parent2e7ef37c7ca8c50b6d47b7572644d1a0bcda46a7
drm/amdkfd: Add cache line sizes to KFD topology

The KFD topology includes cache line size, but we have not been
filling that information out unless we are parsing a CRAT table.
Fill in this information for the devices where we have cache
information structs, and pipe this information to the topology
sysfs files.

v2: squash in fix from Joe (Alex)

Signed-off-by: Joseph Greathouse <Joseph.Greathouse@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
drivers/gpu/drm/amd/amdkfd/kfd_crat.h
drivers/gpu/drm/amd/amdkfd/kfd_topology.c