diff --git a/.gitlab-ci/test-source-dep.yml b/.gitlab-ci/test-source-dep.yml index 56037f85262..d0c4d8c5cc4 100644 --- a/.gitlab-ci/test-source-dep.yml +++ b/.gitlab-ci/test-source-dep.yml @@ -412,13 +412,33 @@ - changes: *gallium_core_file_list when: on_success - - changes: + - changes: &iris_file_list - src/gallium/drivers/iris/**/* - src/gallium/winsys/iris/**/* - src/intel/**/* when: on_success - when: never +# Unfortunately YAML doesn't let us concatenate arrays, so we have to do the +# rules duplication manually +.iris-rules-performance: + stage: intel + rules: + - *ignore_scheduled_pipelines + # Run only on pre-merge pipelines from Marge + - if: '$GITLAB_USER_LOGIN != "marge-bot" || $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME' + when: never + - changes: + *mesa_core_file_list + when: manual + - changes: + *gallium_core_file_list + when: manual + - changes: + *iris_file_list + when: manual + - when: never + .anv-rules: stage: intel rules: diff --git a/src/gallium/drivers/iris/ci/gitlab-ci.yml b/src/gallium/drivers/iris/ci/gitlab-ci.yml index c0fac6d99a1..7a102814c30 100644 --- a/src/gallium/drivers/iris/ci/gitlab-ci.yml +++ b/src/gallium/drivers/iris/ci/gitlab-ci.yml @@ -254,3 +254,63 @@ iris-cml-traces: - .iris-cml-test - .iris-traces - .test-manual-mr + +.profile-traces: + extends: + - .iris-traces + - .iris-rules-performance + variables: + PIGLIT_REPLAY_SUBCOMMAND: "profile" + PIGLIT_REPLAY_EXTRA_ARGS: "--db-path ${CI_PROJECT_DIR}/replayer-db/" + # More than this can hit OOM due to BOs leaked during the replay of the last frame + PIGLIT_REPLAY_LOOP_TIMES: 150 + # We don't want for more than one workload to be submitted to the GPU at a time + FDO_CI_CONCURRENT: 1 + # So we aren't capped by VSync by the X server + EGL_PLATFORM: surfaceless + GIT_STRATEGY: none + HWCI_FREQ_MAX: 1 + LAVA_TAGS: "cbg-0" + allow_failure: true + +iris-apl-traces-performance: + extends: + - .iris-apl-test + - .profile-traces + variables: + GPU_VERSION: intel-apl + +iris-glk-traces-performance: + extends: + - .iris-glk-test + - .profile-traces + variables: + GPU_VERSION: intel-glk + +iris-amly-traces-performance: + extends: + - .iris-amly-test + - .profile-traces + variables: + GPU_VERSION: intel-amly + +iris-kbl-traces-performance: + extends: + - .iris-kbl-test + - .profile-traces + variables: + GPU_VERSION: intel-kbl + +iris-whl-traces-performance: + extends: + - .iris-whl-test + - .profile-traces + variables: + GPU_VERSION: intel-whl + +iris-cml-traces-performance: + extends: + - .iris-cml-test + - .profile-traces + variables: + GPU_VERSION: intel-cml