aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorOak Zeng <[email protected]>2019-05-03 14:10:38 +0000
committerAlex Deucher <[email protected]>2019-05-28 19:43:58 +0000
commit29e764621bbcd4a93745cf1b9fd5a2f5f45c3f72 (patch)
treea32582ce72c532d1adafc6fa7decd58ed985399f /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentdrm/amdkfd: Use kfd fd to mmap mmio (diff)
downloadkernel-29e764621bbcd4a93745cf1b9fd5a2f5f45c3f72.tar.gz
kernel-29e764621bbcd4a93745cf1b9fd5a2f5f45c3f72.zip
drm/amdkfd: Add gws number to kfd topology node properties
Add amdgpu_amdkfd interface to get num_gws and add num_gws to /sys/class/kfd/kfd/topology/nodes/x/properties. Only report num_gws if MEC FW support GWS barriers. Currently it is determined by a module parameter which will be replaced with MEC FW version check when firmware is ready. Signed-off-by: Oak Zeng <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions