Commit f2005218 authored by Alex Deucher's avatar Alex Deucher

drm/amdkfd: simplify cases

A number of the gfx8 cases were the same.  Clean them
up.
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent db4107e9
...@@ -262,23 +262,12 @@ struct kfd_dev *kgd2kfd_probe(struct amdgpu_device *adev, bool vf) ...@@ -262,23 +262,12 @@ struct kfd_dev *kgd2kfd_probe(struct amdgpu_device *adev, bool vf)
f2g = &gfx_v8_kfd2kgd; f2g = &gfx_v8_kfd2kgd;
break; break;
case CHIP_FIJI: case CHIP_FIJI:
gfx_target_version = 80003;
f2g = &gfx_v8_kfd2kgd;
break;
case CHIP_POLARIS10: case CHIP_POLARIS10:
gfx_target_version = 80003; gfx_target_version = 80003;
f2g = &gfx_v8_kfd2kgd; f2g = &gfx_v8_kfd2kgd;
break; break;
case CHIP_POLARIS11: case CHIP_POLARIS11:
gfx_target_version = 80003;
if (!vf)
f2g = &gfx_v8_kfd2kgd;
break;
case CHIP_POLARIS12: case CHIP_POLARIS12:
gfx_target_version = 80003;
if (!vf)
f2g = &gfx_v8_kfd2kgd;
break;
case CHIP_VEGAM: case CHIP_VEGAM:
gfx_target_version = 80003; gfx_target_version = 80003;
if (!vf) if (!vf)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment