diff options
author | Guchun Chen <guchun.chen@amd.com> | 2021-12-17 08:21:20 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-12-30 16:54:43 +0300 |
commit | f89c6bf73420c597769033dcc811ce691597ccf3 (patch) | |
tree | 7e47bfc5556789af26cf00e47eece2cbbb9364b0 /drivers/gpu/trace | |
parent | 67416bf85345b6990fe2adc42ab082bfefc578bd (diff) | |
download | linux-f89c6bf73420c597769033dcc811ce691597ccf3.tar.xz |
drm/amdkfd: correct sdma queue number in kfd device init (v3)
This patch keeps the setting of sdma queue number to the same
after recent KFD code refactor. Additionally, improve code to
use switch case to list IP version to complete kfd device_info
structure filling for IH version assignment. This makes consistency
with the IP parse code in amdgpu_discovery.c.
v2: use dev_warn for the default switch case;
set default sdma queue per engine(8) and IH handler to v9. (Jonathan)
v3: Fix missed IP version check of Raven.
Fixes: f0dc99a6f742bc ("drm/amdkfd: add kfd_device_info_init function")
Signed-off-by: Guchun Chen <guchun.chen@amd.com>
Reviewed-by: Jonathan Kim <jonathan.kim@amd.com>
Reviewed-by: Graham Sider <Graham.Sider@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/trace')
0 files changed, 0 insertions, 0 deletions