[Mesa-dev] [PATCH] radv: expose async compute on SI

Bas Nieuwenhuizen bas at basnieuwenhuizen.nl
Tue Feb 27 00:21:45 UTC 2018


Acked-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>

On Tue, Feb 27, 2018 at 12:58 AM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> It looks like we had all the pieces in place for this,
> just never tested it and turned it on.
>
> I don't see any CTS regressions and the computeshader
> demo runs.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/amd/vulkan/radv_device.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
> index 6f215813bab..c1a305d5489 100644
> --- a/src/amd/vulkan/radv_device.c
> +++ b/src/amd/vulkan/radv_device.c
> @@ -880,7 +880,6 @@ static void radv_get_physical_device_queue_family_properties(
>         int num_queue_families = 1;
>         int idx;
>         if (pdevice->rad_info.num_compute_rings > 0 &&
> -           pdevice->rad_info.chip_class >= CIK &&
>             !(pdevice->instance->debug_flags & RADV_DEBUG_NO_COMPUTE_QUEUE))
>                 num_queue_families++;
>
> @@ -907,7 +906,6 @@ static void radv_get_physical_device_queue_family_properties(
>         }
>
>         if (pdevice->rad_info.num_compute_rings > 0 &&
> -           pdevice->rad_info.chip_class >= CIK &&
>             !(pdevice->instance->debug_flags & RADV_DEBUG_NO_COMPUTE_QUEUE)) {
>                 if (*pCount > idx) {
>                         *pQueueFamilyProperties[idx] = (VkQueueFamilyProperties) {
> --
> 2.14.3
>
> _______________________________________________
> 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