From: Dave Airlie Date: Mon, 5 Jun 2017 22:36:24 +0000 (+1000) Subject: radv: set offchip hs param like radeonsi. X-Git-Tag: upstream/18.1.0~9201 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a83f28d536d97615047f29ffb5f651a8afafb568;p=platform%2Fupstream%2Fmesa.git radv: set offchip hs param like radeonsi. radeonsi never uses 512 here anymore. Reviewed-by: Bas Nieuwenhuizen Signed-off-by: Dave Airlie --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index 6c30cde..d80d746 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -1475,11 +1475,9 @@ radv_get_hs_offchip_param(struct radv_device *device, uint32_t *max_offchip_buff max_offchip_buffers = MIN2(max_offchip_buffers, 126); break; case CIK: - max_offchip_buffers = MIN2(max_offchip_buffers, 508); - break; case VI: default: - max_offchip_buffers = MIN2(max_offchip_buffers, 512); + max_offchip_buffers = MIN2(max_offchip_buffers, 508); break; }