ac/surface/tests: fix missing NUM_PKRS extraction in test_modifier

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15098>
This commit is contained in:
Marek Olšák 2022-02-20 20:22:16 -05:00 committed by Marge Bot
parent 12e00be09b
commit 9a28f79f7b

View file

@ -242,7 +242,7 @@ static void test_modifier(const struct radeon_info *info,
G_0098F8_NUM_SHADER_ENGINES_GFX9(info->gb_addr_config),
.se = G_0098F8_NUM_SHADER_ENGINES_GFX9(info->gb_addr_config),
.banks_or_pkrs = info->chip_class >= GFX10 ?
(info->gb_addr_config) : G_0098F8_NUM_BANKS(info->gb_addr_config)
G_0098F8_NUM_PKRS(info->gb_addr_config) : G_0098F8_NUM_BANKS(info->gb_addr_config)
};
struct radeon_surf surf = (struct radeon_surf) {