diff options
author | Huang Rui <ray.huang@amd.com> | 2020-08-11 13:54:56 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-18 17:54:12 -0400 |
commit | 34174b89bfa495bed9cddcc504fb38feca90fab7 (patch) | |
tree | 428fdd8bca247dd40b1e7c2577e6c44f88ffc5b9 /mm | |
parent | 0a668aee0ac288cf36a554eb7f270be2ca8ef476 (diff) |
drm/amdkfd: fix the wrong sdma instance query for renoir
Renoir only has one sdma instance, it will get failed once query the
sdma1 registers. So use switch-case instead of static register array.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions