anv/gen7: Set BypassGatewayControl in MEDIA_VFE_STATE
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 30 Jan 2016 22:56:03 +0000 (14:56 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 30 Jan 2016 23:06:03 +0000 (15:06 -0800)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/vulkan/genX_pipeline.c

index b10db45bd355e54334f3a0ba6da658f1cb238319..b62e401c4eeb15a0465f6ed074cecc19ede0f0ae 100644 (file)
@@ -102,7 +102,7 @@ genX(compute_pipeline_create)(
                   .MaximumNumberofThreads = device->info.max_cs_threads - 1,
                   .NumberofURBEntries = ANV_GEN <= 7 ? 0 : 2,
                   .ResetGatewayTimer = true,
-#if ANV_GEN == 8
+#if ANV_GEN <= 8
                   .BypassGatewayControl = true,
 #endif
                   .URBEntryAllocationSize = ANV_GEN <= 7 ? 0 : 2,