]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amdkfd: expose num_cp_queues data field to topology node (v2)
authorHuang Rui <ray.huang@amd.com>
Mon, 16 Dec 2019 07:02:51 +0000 (15:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Dec 2019 15:10:18 +0000 (10:10 -0500)
commitf4feb9fa45ee604f44fcc1fb4fb806a0c611acd0
tree396b24906e9fb3de9c98383cdbb19c6c650cdb2c
parentbb71c74db3c554a10d8df81c2dcc162b0bbb4149
drm/amdkfd: expose num_cp_queues data field to topology node (v2)

Thunk driver would like to know the num_cp_queues data, however this data relied
on different asic specific. So it's better to get it from kfd driver.

v2: don't update name size.

Signed-off-by: Huang Rui <ray.huang@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_topology.c
drivers/gpu/drm/amd/amdkfd/kfd_topology.h