radv: expose async compute on SI
authorDave Airlie <airlied@redhat.com>
Mon, 26 Feb 2018 20:51:55 +0000 (20:51 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 27 Feb 2018 00:54:59 +0000 (00:54 +0000)
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.

Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c

index 763c4e41c82014fdc46df0883699fccf232827bd..92865122ad541eb9604d1ac91fbf34bf2842fa10 100644 (file)
@@ -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) {