ci/freedreno: properly test sysmem and gmem paths

After autotuner introduction most CTS tests are running in
sysmem mode. Now we have to force gmem run and add a small
forced sysmem run since it's not guaranteed that autotuner
would select gmem in future.

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12128>
This commit is contained in:
Danylo Piliaiev 2021-12-27 13:49:42 +02:00 committed by Marge Bot
parent 803055ccb4
commit f14cae43ac
6 changed files with 44 additions and 55 deletions

View File

@ -4,13 +4,19 @@ deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
caselists = ["/deqp/mustpass/vk-master.txt"]
timeout = 300
renderer_check = "Turnip Adreno .* 618"
[deqp.env]
# Force binning in the main run, which makes sure we render at
# least 2 bins. This is the path that impacts the most different
# features.
TU_DEBUG = "forcebin"
# force-bypass testing
# force-gmem testing
# Autotuner forces sysmem on most CTS tests
[[deqp]]
deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
caselists = ["/deqp/mustpass/vk-master.txt"]
timeout = 300
prefix = "gmem-"
fraction = 10
[deqp.env]
TU_DEBUG = "gmem,forcebin"
# force-sysmem testing
[[deqp]]
deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
caselists = ["/deqp/mustpass/vk-master.txt"]
@ -19,15 +25,3 @@ include = ["dEQP-VK.renderpass.*"]
prefix = "bypass-"
[deqp.env]
TU_DEBUG = "sysmem"
# Partial test with neither force-bin nor force-sysmem. We don't expect trouble
# here if both of those work, but it is the default so we should do at least a
# bit of it. Left disabled for now until we shorten our list of known fails a
# bit more (otherwise, it's a lot of bother to track as uprevs change the
# fraction that gets run).
#[[deqp]]
#deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
#caselists = ["/deqp/mustpass/vk-master.txt"]
#timeout = 300
#fraction = 10
#prefix = "defaults-"

View File

@ -5,22 +5,17 @@ caselists = ["/deqp/mustpass/vk-master.txt"]
skips = ["install/freedreno-a618-premerge-skips.txt"]
renderer_check = "Turnip Adreno .* 618"
fraction = 2
[deqp.env]
# Force binning in the main run, which makes sure we render at
# least 2 bins. This is the path that impacts the most different
# features.
TU_DEBUG = "forcebin"
# force-bypass testing
# force-gmem testing
# Autotuner forces sysmem on most CTS tests
[[deqp]]
deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
caselists = ["/deqp/mustpass/vk-master.txt"]
skips = ["install/freedreno-a618-premerge-skips.txt"]
include = ["dEQP-VK.renderpass.*"]
prefix = "bypass-"
prefix = "gmem-"
fraction = 15
[deqp.env]
TU_DEBUG = "sysmem"
TU_DEBUG = "gmem,forcebin"
[[deqp]]
deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"

View File

@ -4,13 +4,19 @@ deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
caselists = ["/deqp/mustpass/vk-master.txt"]
timeout = 300
renderer_check = "Turnip Adreno .* 630"
[deqp.env]
# Force binning in the main run, which makes sure we render at
# least 2 bins. This is the path that impacts the most different
# features.
TU_DEBUG = "forcebin"
# force-bypass testing
# force-gmem testing
# Autotuner forces sysmem on most CTS tests
[[deqp]]
deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
caselists = ["/deqp/mustpass/vk-master.txt"]
timeout = 300
prefix = "gmem-"
fraction = 10
[deqp.env]
TU_DEBUG = "gmem,forcebin"
# force-sysmem testing
[[deqp]]
deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
caselists = ["/deqp/mustpass/vk-master.txt"]
@ -19,15 +25,3 @@ include = ["dEQP-VK.renderpass.*"]
prefix = "bypass-"
[deqp.env]
TU_DEBUG = "sysmem"
# Partial test with neither force-bin nor force-sysmem. We don't expect trouble
# here if both of those work, but it is the default so we should do at least a
# bit of it. Left disabled for now until we shorten our list of known fails a
# bit more (otherwise, it's a lot of bother to track as uprevs change the
# fraction that gets run).
#[[deqp]]
#deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
#caselists = ["/deqp/mustpass/vk-master.txt"]
#timeout = 300
#fraction = 10
#prefix = "defaults-"

View File

@ -5,13 +5,19 @@ caselists = ["/deqp/mustpass/vk-master.txt"]
skips = ["install/freedreno-a630-premerge-skips.txt"]
fraction = 9
renderer_check = "Turnip Adreno .* 630"
[deqp.env]
# Force binning in the main run, which makes sure we render at
# least 2 bins. This is the path that impacts the most different
# features.
TU_DEBUG = "forcebin"
# force-bypass testing
# force-gmem testing
# Autotuner forces sysmem on most CTS tests
[[deqp]]
deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
caselists = ["/deqp/mustpass/vk-master.txt"]
skips = ["install/freedreno-a630-premerge-skips.txt"]
prefix = "gmem-"
fraction = 15
[deqp.env]
TU_DEBUG = "gmem,forcebin"
# force-sysmem testing
[[deqp]]
deqp = "/deqp/external/vulkancts/modules/vulkan/deqp-vk"
caselists = ["/deqp/mustpass/vk-master.txt"]

View File

@ -1,3 +1,3 @@
# Fails when TU_DEBUG=forcebin is set
dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes_two_buffers_geom,Fail
dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes_two_buffers_vert,Fail
gmem-dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes_two_buffers_geom,Fail
gmem-dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes_two_buffers_vert,Fail

View File

@ -42,8 +42,8 @@ bypass-dEQP-GLES31.functional.blend_equation_advanced.msaa.screen,Fail
bypass-dEQP-GLES31.functional.blend_equation_advanced.msaa.softlight,Fail
# Fails when TU_DEBUG=forcebin is set
dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes_two_buffers_geom,Fail
dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes_two_buffers_vert,Fail
gmem-dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes_two_buffers_geom,Fail
gmem-dEQP-VK.spirv_assembly.instruction.graphics.variable_pointers.graphics.writes_two_buffers_vert,Fail
glx@glx_arb_create_context_es2_profile@invalid opengl es version,Fail
glx@glx_arb_create_context_no_error@no error,Fail