Skip to content

Commit ee8086d

Browse files
Prike Liangalexdeucher
authored andcommitted
drm/amdkfd: Fix isa version for the GC 10.3.7
Correct the isa version for handling KFD test. Fixes: 7c4f4f1 ("drm/amdkfd: Add GC 10.3.6 and 10.3.7 KFD definitions") Signed-off-by: Prike Liang <[email protected]> Reviewed-by: Aaron Liu <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 894c9c5 commit ee8086d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

drivers/gpu/drm/amd/amdkfd/kfd_device.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -382,12 +382,8 @@ struct kfd_dev *kgd2kfd_probe(struct amdgpu_device *adev, bool vf)
382382
f2g = &gfx_v10_3_kfd2kgd;
383383
break;
384384
case IP_VERSION(10, 3, 6):
385-
gfx_target_version = 100306;
386-
if (!vf)
387-
f2g = &gfx_v10_3_kfd2kgd;
388-
break;
389385
case IP_VERSION(10, 3, 7):
390-
gfx_target_version = 100307;
386+
gfx_target_version = 100306;
391387
if (!vf)
392388
f2g = &gfx_v10_3_kfd2kgd;
393389
break;

0 commit comments

Comments
 (0)