kernel.
https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-lts2024-05-08T22:46:26Zdrm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device2024-05-08T22:46:26ZMichael Chenmichael.chen@amd.com2024-05-03T19:31:08Zurn:sha1:10f624ef239bd136cdcc5bbc626157a57b938a31
Currently oem_id is defined as uint8_t[6] and casted to uint64_t*
in some use case. This would lead code scanner to complain about
access beyond. Re-define it in union to enforce 8-byte size and
alignment to avoid potential issue.
Signed-off-by: Michael Chen <michael.chen@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amdkfd: Add cache line sizes to KFD topology2024-02-07T17:25:51ZJoseph GreathouseJoseph.Greathouse@amd.com2024-01-20T02:01:50Zurn:sha1:5a2df8ecba868e91fa4eff393ceef34d134fe916
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>
drm/amdkfd: Update cache info reporting for GFX v9.4.32023-09-11T22:17:20ZMukul Joshimukul.joshi@amd.com2023-08-25T16:18:06Zurn:sha1:0752e66e91fa86fa5481b04b22053363833ffb85
Update cache info reporting in sysfs to report the correct
number of CUs and associated cache information based on
different spatial partitioning modes.
Signed-off-by: Mukul Joshi <mukul.joshi@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drm/amdkfd: drop IOMMUv2 support2023-08-11T18:47:25ZAlex Deucheralexander.deucher@amd.com2023-07-28T16:20:12Zurn:sha1:c99a2e7ae291e5b19b60443eb6397320ef9e8571
Now that we use the dGPU path for all APUs, drop the
IOMMUv2 support.
v2: drop the now unused queue manager functions for gfx7/8 APUs
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Tested-by: Mike Lothian <mike@fireburn.co.uk>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>