diff options
author | Marek Olšák <[email protected]> | 2019-05-15 14:33:34 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-05-27 15:10:51 -0400 |
commit | b25795602160af020d6bec30c88207a544a73ae9 (patch) | |
tree | 4317ffca01a65cfbdab5ebe37a36eb53727ffc74 /src/amd | |
parent | 37af75f88c8c1daf67f3d4747613040a6dd9caf8 (diff) |
ac: treat Mullins as Kabini, remove the enum
it's the same design
Diffstat (limited to 'src/amd')
-rw-r--r-- | src/amd/common/ac_gpu_info.c | 2 | ||||
-rw-r--r-- | src/amd/common/ac_llvm_util.c | 2 | ||||
-rw-r--r-- | src/amd/common/ac_surface.c | 4 | ||||
-rw-r--r-- | src/amd/common/amd_family.h | 1 | ||||
-rw-r--r-- | src/amd/vulkan/radv_device.c | 1 | ||||
-rw-r--r-- | src/amd/vulkan/radv_pipeline.c | 3 |
6 files changed, 1 insertions, 12 deletions
diff --git a/src/amd/common/ac_gpu_info.c b/src/amd/common/ac_gpu_info.c index 7c8ca9cf48d..58454c5e845 100644 --- a/src/amd/common/ac_gpu_info.c +++ b/src/amd/common/ac_gpu_info.c @@ -654,7 +654,6 @@ ac_get_gs_table_depth(enum chip_class chip_class, enum radeon_family family) case CHIP_HAINAN: case CHIP_KAVERI: case CHIP_KABINI: - case CHIP_MULLINS: case CHIP_ICELAND: case CHIP_CARRIZO: case CHIP_STONEY: @@ -688,7 +687,6 @@ ac_get_raster_config(struct radeon_info *info, /* 1 SE / 1 RB */ case CHIP_HAINAN: case CHIP_KABINI: - case CHIP_MULLINS: case CHIP_STONEY: raster_config = 0x00000000; raster_config_1 = 0x00000000; diff --git a/src/amd/common/ac_llvm_util.c b/src/amd/common/ac_llvm_util.c index 6063411310b..5b701603ebb 100644 --- a/src/amd/common/ac_llvm_util.c +++ b/src/amd/common/ac_llvm_util.c @@ -107,8 +107,6 @@ const char *ac_get_llvm_processor_name(enum radeon_family family) return "kaveri"; case CHIP_HAWAII: return "hawaii"; - case CHIP_MULLINS: - return "mullins"; case CHIP_TONGA: return "tonga"; case CHIP_ICELAND: diff --git a/src/amd/common/ac_surface.c b/src/amd/common/ac_surface.c index a9433b9696c..28256352cb7 100644 --- a/src/amd/common/ac_surface.c +++ b/src/amd/common/ac_surface.c @@ -95,10 +95,6 @@ static void addrlib_family_rev_id(enum radeon_family family, *addrlib_family = FAMILY_CI; *addrlib_revid = get_first(AMDGPU_HAWAII_RANGE); break; - case CHIP_MULLINS: - *addrlib_family = FAMILY_KV; - *addrlib_revid = get_first(AMDGPU_GODAVARI_RANGE); - break; case CHIP_TONGA: *addrlib_family = FAMILY_VI; *addrlib_revid = get_first(AMDGPU_TONGA_RANGE); diff --git a/src/amd/common/amd_family.h b/src/amd/common/amd_family.h index ee30dc74b93..acc7673bee1 100644 --- a/src/amd/common/amd_family.h +++ b/src/amd/common/amd_family.h @@ -83,7 +83,6 @@ enum radeon_family { CHIP_KAVERI, CHIP_KABINI, CHIP_HAWAII, - CHIP_MULLINS, CHIP_TONGA, /* GFX8 (Volcanic Islands & Polaris) */ CHIP_ICELAND, CHIP_CARRIZO, diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 4203074a4cd..c50908bcfcb 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -100,7 +100,6 @@ radv_get_device_name(enum radeon_family family, char *name, size_t name_len) case CHIP_KAVERI: chip_string = "AMD RADV KAVERI"; break; case CHIP_KABINI: chip_string = "AMD RADV KABINI"; break; case CHIP_HAWAII: chip_string = "AMD RADV HAWAII"; break; - case CHIP_MULLINS: chip_string = "AMD RADV MULLINS"; break; case CHIP_TONGA: chip_string = "AMD RADV TONGA"; break; case CHIP_ICELAND: chip_string = "AMD RADV ICELAND"; break; case CHIP_CARRIZO: chip_string = "AMD RADV CARRIZO"; break; diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index 56fd65bec29..a3076d421a5 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -1600,8 +1600,7 @@ static void si_multiwave_lds_size_workaround(struct radv_device *device, * It applies to workgroup sizes of more than one wavefront. */ if (device->physical_device->rad_info.family == CHIP_BONAIRE || - device->physical_device->rad_info.family == CHIP_KABINI || - device->physical_device->rad_info.family == CHIP_MULLINS) + device->physical_device->rad_info.family == CHIP_KABINI) *lds_size = MAX2(*lds_size, 8); } |