diff --git a/src/freedreno/ci/deqp-freedreno-a618-piglit-cl.toml b/src/freedreno/ci/deqp-freedreno-a618-piglit-cl.toml new file mode 100644 index 00000000000..c501e641554 --- /dev/null +++ b/src/freedreno/ci/deqp-freedreno-a618-piglit-cl.toml @@ -0,0 +1,7 @@ +[[piglit]] +piglit_folder = "/piglit" +profile = "cl" +process_isolation = true +skips = ["install/freedreno-a6xx-skips.txt"] + [piglit.env] + RUSTICL_ENABLE = "msm" diff --git a/src/freedreno/ci/deqp-freedreno-a660-piglit-cl.toml b/src/freedreno/ci/deqp-freedreno-a660-piglit-cl.toml new file mode 100644 index 00000000000..776e6edd737 --- /dev/null +++ b/src/freedreno/ci/deqp-freedreno-a660-piglit-cl.toml @@ -0,0 +1,8 @@ +[[piglit]] +piglit_folder = "/piglit" +profile = "cl" +process_isolation = true +skips = ["install/freedreno-a6xx-skips.txt"] + [piglit.env] + RUSTICL_ENABLE = "msm" + diff --git a/src/freedreno/ci/deqp-freedreno-a750-piglit-cl.toml b/src/freedreno/ci/deqp-freedreno-a750-piglit-cl.toml new file mode 100644 index 00000000000..776e6edd737 --- /dev/null +++ b/src/freedreno/ci/deqp-freedreno-a750-piglit-cl.toml @@ -0,0 +1,8 @@ +[[piglit]] +piglit_folder = "/piglit" +profile = "cl" +process_isolation = true +skips = ["install/freedreno-a6xx-skips.txt"] + [piglit.env] + RUSTICL_ENABLE = "msm" + diff --git a/src/freedreno/ci/freedreno-a618-fails.txt b/src/freedreno/ci/freedreno-a618-fails.txt index 7f879483c42..958e0afd4b9 100644 --- a/src/freedreno/ci/freedreno-a618-fails.txt +++ b/src/freedreno/ci/freedreno-a618-fails.txt @@ -315,3 +315,65 @@ dEQP-GLES3.functional.fbo.blit.rect.nearest_consistency_out_of_bounds_mag,Fail # New fails in 1.3.10.0 dEQP-VK.dynamic_rendering.primary_cmd_buff.local_read.max_input_attachments,Fail + +# OpenCL tests below +# +## rusticl-core issues: +# +#Unexpected CL error: CL_BUILD_PROGRAM_FAILURE -11 +#Expected CL error: CL_INVALID_BUILD_OPTIONS -43 +api@clbuildprogram,Fail + +#Unexpected CL error: CL_COMPILE_PROGRAM_FAILURE -15 +#Expected CL error: CL_INVALID_COMPILER_OPTIONS -66 +api@clcompileprogram,Fail + +#Unexpected CL error: CL_SUCCESS 0 +#Expected CL error: CL_KERNEL_ARG_INFO_NOT_AVAILABLE -19 +api@clgetkernelarginfo,Fail + +#Unexpected CL error: CL_SUCCESS 0 +#Expected CL error: CL_INVALID_LINKER_OPTIONS -67 +#Failed (error code: CL_SUCCESS): Trigger CL_INVALID_LINKER_OPTIONS if the linker options specified by options are invalid. +#Unexpected CL error: CL_LINK_PROGRAM_FAILURE -17 +#Expected CL error: CL_INVALID_OPERATION -59 +#Failed (error code: CL_LINK_PROGRAM_FAILURE): Trigger CL_INVALID_OPERATION if the rules for devices containing compiled binaries or libraries as described in input_programs argument above are not followed. +#Unexpected CL error: CL_SUCCESS 0 +#Expected CL error: CL_LINK_PROGRAM_FAILURE -17 +api@cllinkprogram,Fail + +# can be resolved by RUSTICL_FEATURES=fp16,fp64 +program@build@vector-data-types,Fail + +# https://gitlab.freedesktop.org/mesa/mesa/-/issues/8408 +program@execute@global-offset,Fail +program@execute@global-offset@3d- input dependent,Fail + +# +## freedreno issues: +# +#Error at data[0] +custom@r600 create release buffer bug,Fail + +# +## works on OnePlus 6: +# +#Failed: return NULL if platform is not a valid platform +api@clgetextensionfunctionaddressforplatform,Fail + +# +## Not our problem: +# +# CL_DEVICE_MAX_READ_IMAGE_ARGS: failed, expected at least 128, got 16 +api@clgetdeviceinfo,Fail + +# CL_QUEUE_SIZE Unexpected CL error: CL_INVALID_COMMAND_QUEUE -36 +api@clgetcommandqueueinfo,Fail + +# broken piglit test (doesn't account for FTZ) +program@execute@builtin@builtin-float-nextafter-1.0.generated,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float1,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float16,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float2,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float4,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float8,Fail diff --git a/src/freedreno/ci/freedreno-a660-fails.txt b/src/freedreno/ci/freedreno-a660-fails.txt index 0ac85736106..9c359ab9e99 100644 --- a/src/freedreno/ci/freedreno-a660-fails.txt +++ b/src/freedreno/ci/freedreno-a660-fails.txt @@ -26,3 +26,66 @@ dEQP-GLES3.functional.fbo.blit.rect.nearest_consistency_out_of_bounds_mag,Fail KHR-GL46.direct_state_access.renderbuffers_storage_multisample,Fail # GL tests above, Vulkan tests below + + +# OpenCL tests below +# +## rusticl-core issues: +# +#Unexpected CL error: CL_BUILD_PROGRAM_FAILURE -11 +#Expected CL error: CL_INVALID_BUILD_OPTIONS -43 +api@clbuildprogram,Fail + +#Unexpected CL error: CL_COMPILE_PROGRAM_FAILURE -15 +#Expected CL error: CL_INVALID_COMPILER_OPTIONS -66 +api@clcompileprogram,Fail + +#Unexpected CL error: CL_SUCCESS 0 +#Expected CL error: CL_KERNEL_ARG_INFO_NOT_AVAILABLE -19 +api@clgetkernelarginfo,Fail + +#Unexpected CL error: CL_SUCCESS 0 +#Expected CL error: CL_INVALID_LINKER_OPTIONS -67 +#Failed (error code: CL_SUCCESS): Trigger CL_INVALID_LINKER_OPTIONS if the linker options specified by options are invalid. +#Unexpected CL error: CL_LINK_PROGRAM_FAILURE -17 +#Expected CL error: CL_INVALID_OPERATION -59 +#Failed (error code: CL_LINK_PROGRAM_FAILURE): Trigger CL_INVALID_OPERATION if the rules for devices containing compiled binaries or libraries as described in input_programs argument above are not followed. +#Unexpected CL error: CL_SUCCESS 0 +#Expected CL error: CL_LINK_PROGRAM_FAILURE -17 +api@cllinkprogram,Fail + +# can be resolved by RUSTICL_FEATURES=fp16,fp64 +program@build@vector-data-types,Fail + +# https://gitlab.freedesktop.org/mesa/mesa/-/issues/8408 +program@execute@global-offset,Fail +program@execute@global-offset@3d- input dependent,Fail + +# +## freedreno issues: +# +#Error at data[0] +custom@r600 create release buffer bug,Fail + +# +## works on OnePlus 6: +# +#Failed: return NULL if platform is not a valid platform +api@clgetextensionfunctionaddressforplatform,Fail + +# +## Not our problem: +# +# CL_DEVICE_MAX_READ_IMAGE_ARGS: failed, expected at least 128, got 16 +api@clgetdeviceinfo,Fail + +# CL_QUEUE_SIZE Unexpected CL error: CL_INVALID_COMMAND_QUEUE -36 +api@clgetcommandqueueinfo,Fail + +# broken piglit test (doesn't account for FTZ) +program@execute@builtin@builtin-float-nextafter-1.0.generated,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float1,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float16,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float2,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float4,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float8,Fail diff --git a/src/freedreno/ci/freedreno-a750-fails.txt b/src/freedreno/ci/freedreno-a750-fails.txt index 8a5e8366adf..17d37a60ab1 100644 --- a/src/freedreno/ci/freedreno-a750-fails.txt +++ b/src/freedreno/ci/freedreno-a750-fails.txt @@ -12,3 +12,65 @@ dynamic-dEQP-VK.renderpass2.depth_stencil_resolve.image_2d_32_32.samples_2.d32_s # New fails in 1.3.10.0 dEQP-VK.dynamic_rendering.primary_cmd_buff.local_read.max_input_attachments,Fail + +# OpenCL tests below +# +## rusticl-core issues: +# +#Unexpected CL error: CL_BUILD_PROGRAM_FAILURE -11 +#Expected CL error: CL_INVALID_BUILD_OPTIONS -43 +api@clbuildprogram,Fail + +#Unexpected CL error: CL_COMPILE_PROGRAM_FAILURE -15 +#Expected CL error: CL_INVALID_COMPILER_OPTIONS -66 +api@clcompileprogram,Fail + +#Unexpected CL error: CL_SUCCESS 0 +#Expected CL error: CL_KERNEL_ARG_INFO_NOT_AVAILABLE -19 +api@clgetkernelarginfo,Fail + +#Unexpected CL error: CL_SUCCESS 0 +#Expected CL error: CL_INVALID_LINKER_OPTIONS -67 +#Failed (error code: CL_SUCCESS): Trigger CL_INVALID_LINKER_OPTIONS if the linker options specified by options are invalid. +#Unexpected CL error: CL_LINK_PROGRAM_FAILURE -17 +#Expected CL error: CL_INVALID_OPERATION -59 +#Failed (error code: CL_LINK_PROGRAM_FAILURE): Trigger CL_INVALID_OPERATION if the rules for devices containing compiled binaries or libraries as described in input_programs argument above are not followed. +#Unexpected CL error: CL_SUCCESS 0 +#Expected CL error: CL_LINK_PROGRAM_FAILURE -17 +api@cllinkprogram,Fail + +# can be resolved by RUSTICL_FEATURES=fp16,fp64 +program@build@vector-data-types,Fail + +# https://gitlab.freedesktop.org/mesa/mesa/-/issues/8408 +program@execute@global-offset,Fail +program@execute@global-offset@3d- input dependent,Fail + +# +## freedreno issues: +# +#Error at data[0] +custom@r600 create release buffer bug,Fail + +# +## works on OnePlus 6: +# +#Failed: return NULL if platform is not a valid platform +api@clgetextensionfunctionaddressforplatform,Fail + +# +## Not our problem: +# +# CL_DEVICE_MAX_READ_IMAGE_ARGS: failed, expected at least 128, got 16 +api@clgetdeviceinfo,Fail + +# CL_QUEUE_SIZE Unexpected CL error: CL_INVALID_COMMAND_QUEUE -36 +api@clgetcommandqueueinfo,Fail + +# broken piglit test (doesn't account for FTZ) +program@execute@builtin@builtin-float-nextafter-1.0.generated,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float1,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float16,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float2,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float4,Fail +program@execute@builtin@builtin-float-nextafter-1.0.generated@nextafter float8,Fail diff --git a/src/freedreno/ci/gitlab-ci-inc.yml b/src/freedreno/ci/gitlab-ci-inc.yml index 5684e493bf0..2d5643d8d2d 100644 --- a/src/freedreno/ci/gitlab-ci-inc.yml +++ b/src/freedreno/ci/gitlab-ci-inc.yml @@ -155,6 +155,14 @@ - !reference [.collabora-freedreno-manual-rules, rules] - !reference [.collabora-turnip-manual-rules, rules] +.valve-freedreno-manual-rules: + stage: freedreno-postmerge + extends: .no-auto-retry + rules: + - !reference [.test, rules] + - !reference [.valve-farm-manual-rules, rules] + - !reference [.freedreno-manual-rules, rules] + .valve-freedreno-turnip-manual-rules: stage: freedreno-postmerge extends: .no-auto-retry diff --git a/src/freedreno/ci/gitlab-ci.yml b/src/freedreno/ci/gitlab-ci.yml index 3d7adf59090..793b054e422 100644 --- a/src/freedreno/ci/gitlab-ci.yml +++ b/src/freedreno/ci/gitlab-ci.yml @@ -173,6 +173,20 @@ a618-piglit-full: HWCI_START_WESTON: 1 JOB_TIMEOUT: 60 +a618-piglit-cl: + extends: + - .lava-test-deqp:arm64 + - .lava-sc7180-trogdor-lazor-limozeen:arm64 + - .collabora-freedreno-rules + rules: + - !reference [.collabora-freedreno-rules, rules] + - !reference [.rusticl-rules, rules] + variables: + DEQP_SUITE: freedreno-a618-piglit-cl + FLAKES_CHANNEL: "#freedreno-ci" + HWCI_START_WESTON: 1 + PIGLIT_PROFILES: cl + a618-traces: extends: - .lava-piglit-traces:arm64 @@ -205,6 +219,19 @@ a618-traces-performance: - !reference [a618-traces, needs] - !reference [.piglit-performance:arm64, needs] +a660-piglit-cl: + extends: + - .lava-test-deqp:arm64 + - .lava-sm8350-hdk:arm64 + - .collabora-freedreno-rules + rules: + - !reference [.collabora-freedreno-rules, rules] + - !reference [.rusticl-rules, rules] + variables: + DEQP_SUITE: freedreno-a660-piglit-cl + HWCI_START_WESTON: 1 + PIGLIT_PROFILES: cl + a660-gl: extends: - .lava-test-deqp:arm64 @@ -353,6 +380,21 @@ a630-traces-performance: GIT_STRATEGY: none HWCI_FREQ_MAX: "true" +a750-piglit-cl: + extends: + - .b2c-arm64-test-gl + - .a750-mupuf + - .valve-freedreno-manual-rules + rules: + - !reference [.valve-freedreno-manual-rules, rules] + - !reference [.rusticl-rules, rules] + variables: + DEQP_SUITE: freedreno-a750-piglit-cl + HWCI_START_WESTON: 1 + PIGLIT_PROFILES: cl + HWCI_TEST_SCRIPT: ./install/deqp-runner.sh + VK_DRIVER: freedreno + a750-vk: extends: - .b2c-freedreno-vk-test