[Mesa-dev] [PATCH 1/3] radv: use radeon_info::num_good_cu_per_sh

Dave Airlie airlied at gmail.com
Thu Nov 1 00:11:41 UTC 2018


For all 3,

Reviewed-by: Dave Airlie <airlied at redhat.com>
On Mon, 29 Oct 2018 at 20:35, Samuel Pitoiset <samuel.pitoiset at gmail.com> wrote:
>
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/amd/vulkan/radv_device.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
> index 1c6be300b4..55c213b384 100644
> --- a/src/amd/vulkan/radv_device.c
> +++ b/src/amd/vulkan/radv_device.c
> @@ -1089,9 +1089,7 @@ void radv_GetPhysicalDeviceProperties2(
>                         properties->shaderArraysPerEngineCount =
>                                 pdevice->rad_info.max_sh_per_se;
>                         properties->computeUnitsPerShaderArray =
> -                               pdevice->rad_info.num_good_compute_units /
> -                                       (pdevice->rad_info.max_se *
> -                                        pdevice->rad_info.max_sh_per_se);
> +                               pdevice->rad_info.num_good_cu_per_sh;
>                         properties->simdPerComputeUnit = 4;
>                         properties->wavefrontsPerSimd =
>                                 pdevice->rad_info.family == CHIP_TONGA ||
> --
> 2.19.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list