diff options
| author | Harish Kasiviswanathan <[email protected]> | 2017-12-09 04:08:53 +0000 |
|---|---|---|
| committer | Oded Gabbay <[email protected]> | 2017-12-09 04:08:53 +0000 |
| commit | 6d82eb0ef209dcf637e2b7fb9a69672d3a455a3f (patch) | |
| tree | fef158c64637280b7c921f75d9ba51aac701a8d2 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h | |
| parent | drm/amdkfd: Decouple CRAT parsing from device list update (diff) | |
| download | kernel-6d82eb0ef209dcf637e2b7fb9a69672d3a455a3f.tar.gz kernel-6d82eb0ef209dcf637e2b7fb9a69672d3a455a3f.zip | |
drm/amdkfd: Support enumerating non-GPU devices
Modify kfd_topology_enum_kfd_devices(..) function to support non-GPU
nodes. The function returned NULL when it encountered non-GPU (say CPU)
nodes. This caused kfd_ioctl_create_event and kfd_init_apertures to fail
for Intel + Tonga.
kfd_topology_enum_kfd_devices will now parse all the nodes and return
valid kfd_dev for nodes with GPU.
Signed-off-by: Harish Kasiviswanathan <[email protected]>
Signed-off-by: Felix Kuehling <[email protected]>
Reviewed-by: Oded Gabbay <[email protected]>
Signed-off-by: Oded Gabbay <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.h')
0 files changed, 0 insertions, 0 deletions
