* [igt-dev] [PATCH i-g-t v3 0/3] tests/slpc: Add basic IGT test
@ 2023-04-12 0:42 Vinay Belgaumkar
2023-04-12 0:42 ` [igt-dev] [PATCH i-g-t 1/3] lib/debugfs: Add per GT debugfs helpers Vinay Belgaumkar
` (4 more replies)
0 siblings, 5 replies; 7+ messages in thread
From: Vinay Belgaumkar @ 2023-04-12 0:42 UTC (permalink / raw)
To: intel-gfx, igt-dev
Borrow some subtests from xe_guc_pc. Also add per GT debugfs helpers.
v3: Review comments and add HAX patch
Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com>
Vinay Belgaumkar (3):
lib/debugfs: Add per GT debugfs helpers
i915_pm_freq_api: Add some basic SLPC igt tests
HAX: tests/i915: Try out the SLPC IGT tests
lib/igt_debugfs.c | 60 ++++++++++
lib/igt_debugfs.h | 4 +
tests/i915/i915_pm_freq_api.c | 151 ++++++++++++++++++++++++++
tests/intel-ci/fast-feedback.testlist | 2 +
tests/meson.build | 1 +
5 files changed, 218 insertions(+)
create mode 100644 tests/i915/i915_pm_freq_api.c
--
2.38.1
^ permalink raw reply [flat|nested] 7+ messages in thread* [igt-dev] [PATCH i-g-t 1/3] lib/debugfs: Add per GT debugfs helpers 2023-04-12 0:42 [igt-dev] [PATCH i-g-t v3 0/3] tests/slpc: Add basic IGT test Vinay Belgaumkar @ 2023-04-12 0:42 ` Vinay Belgaumkar 2023-04-12 0:42 ` [igt-dev] [PATCH i-g-t 2/3] i915_pm_freq_api: Add some basic SLPC igt tests Vinay Belgaumkar ` (3 subsequent siblings) 4 siblings, 0 replies; 7+ messages in thread From: Vinay Belgaumkar @ 2023-04-12 0:42 UTC (permalink / raw) To: intel-gfx, igt-dev These can be used to open per-gt debugfs files. Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Vinay Belgaumkar <viay.belgaumkar@intel.com> --- lib/igt_debugfs.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++ lib/igt_debugfs.h | 4 ++++ 2 files changed, 64 insertions(+) diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c index 05889bbe..afde2da6 100644 --- a/lib/igt_debugfs.c +++ b/lib/igt_debugfs.c @@ -217,6 +217,37 @@ int igt_debugfs_dir(int device) return open(path, O_RDONLY); } +/** + * igt_debugfs_gt_dir: + * @device: fd of the device + * @gt: GT instance number + * + * This opens the debugfs directory corresponding to device for use + * with igt_sysfs_get() and related functions. + * + * Returns: + * The directory fd, or -1 on failure. + */ +int igt_debugfs_gt_dir(int device, unsigned int gt) +{ + int debugfs_gt_dir_fd; + char path[PATH_MAX]; + char gtpath[16]; + int ret; + + if (!igt_debugfs_path(device, path, sizeof(path))) + return -1; + + ret = snprintf(gtpath, sizeof(gtpath), "/gt%u", gt); + igt_assert(ret < sizeof(gtpath)); + strncat(path, gtpath, sizeof(path) - 1); + + debugfs_gt_dir_fd = open(path, O_RDONLY); + igt_debug_on_f(debugfs_gt_dir_fd < 0, "path: %s\n", path); + + return debugfs_gt_dir_fd; +} + /** * igt_debugfs_connector_dir: * @device: fd of the device @@ -313,6 +344,35 @@ bool igt_debugfs_exists(int device, const char *filename, int mode) return false; } +/** + * igt_debugfs_gt_open: + * @device: open i915 drm fd + * @gt: gt instance number + * @filename: name of the debugfs node to open + * @mode: mode bits as used by open() + * + * This opens a debugfs file as a Unix file descriptor. The filename should be + * relative to the drm device's root, i.e. without "drm/$minor". + * + * Returns: + * The Unix file descriptor for the debugfs file or -1 if that didn't work out. + */ +int +igt_debugfs_gt_open(int device, unsigned int gt, const char *filename, int mode) +{ + int dir, ret; + + dir = igt_debugfs_gt_dir(device, gt); + if (dir < 0) + return dir; + + ret = openat(dir, filename, mode); + + close(dir); + + return ret; +} + /** * igt_debugfs_simple_read: * @dir: fd of the debugfs directory diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h index 4824344a..3e6194ad 100644 --- a/lib/igt_debugfs.h +++ b/lib/igt_debugfs.h @@ -45,6 +45,10 @@ void __igt_debugfs_write(int fd, const char *filename, const char *buf, int size int igt_debugfs_simple_read(int dir, const char *filename, char *buf, int size); bool igt_debugfs_search(int fd, const char *filename, const char *substring); +int igt_debugfs_gt_dir(int device, unsigned int gt); +int igt_debugfs_gt_open(int device, unsigned int gt, const char *filename, + int mode); + /** * igt_debugfs_read: * @filename: name of the debugfs file -- 2.38.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [igt-dev] [PATCH i-g-t 2/3] i915_pm_freq_api: Add some basic SLPC igt tests 2023-04-12 0:42 [igt-dev] [PATCH i-g-t v3 0/3] tests/slpc: Add basic IGT test Vinay Belgaumkar 2023-04-12 0:42 ` [igt-dev] [PATCH i-g-t 1/3] lib/debugfs: Add per GT debugfs helpers Vinay Belgaumkar @ 2023-04-12 0:42 ` Vinay Belgaumkar 2023-04-12 0:42 ` [igt-dev] [PATCH i-g-t 3/3] HAX: tests/i915: Try out the SLPC IGT tests Vinay Belgaumkar ` (2 subsequent siblings) 4 siblings, 0 replies; 7+ messages in thread From: Vinay Belgaumkar @ 2023-04-12 0:42 UTC (permalink / raw) To: intel-gfx, igt-dev Validate basic api for GT freq control. Also test interaction with GT reset. We skip rps tests with SLPC enabled, this will re-introduce some coverage. SLPC selftests are already covering some other workload related scenarios. v2: Rename test (Rodrigo) v3: Review comments (Ashutosh) Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Cc: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com> --- tests/i915/i915_pm_freq_api.c | 151 ++++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 2 files changed, 152 insertions(+) create mode 100644 tests/i915/i915_pm_freq_api.c diff --git a/tests/i915/i915_pm_freq_api.c b/tests/i915/i915_pm_freq_api.c new file mode 100644 index 00000000..bfa90005 --- /dev/null +++ b/tests/i915/i915_pm_freq_api.c @@ -0,0 +1,151 @@ +// SPDX-License-Identifier: MIT +/* + * Copyright © 2023 Intel Corporation + */ + +#include <dirent.h> +#include <errno.h> +#include <fcntl.h> +#include <inttypes.h> +#include <stdlib.h> +#include <sys/stat.h> +#include <sys/syscall.h> +#include <sys/types.h> +#include <unistd.h> + +#include "drmtest.h" +#include "i915/gem.h" +#include "igt_sysfs.h" +#include "igt.h" + +IGT_TEST_DESCRIPTION("Test SLPC freq API"); +/* + * Too many intermediate components and steps before freq is adjusted + * Specially if workload is under execution, so let's wait 100 ms. + */ +#define ACT_FREQ_LATENCY_US 100000 + +static uint32_t get_freq(int dirfd, uint8_t id) +{ + uint32_t val; + + igt_assert(igt_sysfs_rps_scanf(dirfd, id, "%u", &val) == 1); + + return val; +} + +static int set_freq(int dirfd, uint8_t id, uint32_t val) +{ + return igt_sysfs_rps_printf(dirfd, id, "%u", val); +} + +static void test_freq_basic_api(int dirfd, int gt) +{ + uint32_t rpn, rp0, rpe; + + /* Save frequencies */ + rpn = get_freq(dirfd, RPS_RPn_FREQ_MHZ); + rp0 = get_freq(dirfd, RPS_RP0_FREQ_MHZ); + rpe = get_freq(dirfd, RPS_RP1_FREQ_MHZ); + igt_info("System min freq: %dMHz; max freq: %dMHz\n", rpn, rp0); + + /* + * Negative bound tests + * RPn is the floor + * RP0 is the ceiling + */ + igt_assert(set_freq(dirfd, RPS_MIN_FREQ_MHZ, rpn - 1) < 0); + igt_assert(set_freq(dirfd, RPS_MIN_FREQ_MHZ, rp0 + 1) < 0); + igt_assert(set_freq(dirfd, RPS_MAX_FREQ_MHZ, rpn - 1) < 0); + igt_assert(set_freq(dirfd, RPS_MAX_FREQ_MHZ, rp0 + 1) < 0); + + /* Assert min requests are respected from rp0 to rpn */ + igt_assert(set_freq(dirfd, RPS_MIN_FREQ_MHZ, rp0) > 0); + igt_assert(get_freq(dirfd, RPS_MIN_FREQ_MHZ) == rp0); + igt_assert(set_freq(dirfd, RPS_MIN_FREQ_MHZ, rpe) > 0); + igt_assert(get_freq(dirfd, RPS_MIN_FREQ_MHZ) == rpe); + igt_assert(set_freq(dirfd, RPS_MIN_FREQ_MHZ, rpn) > 0); + igt_assert(get_freq(dirfd, RPS_MIN_FREQ_MHZ) == rpn); + + /* Assert max requests are respected from rpn to rp0 */ + igt_assert(set_freq(dirfd, RPS_MAX_FREQ_MHZ, rpn) > 0); + igt_assert(get_freq(dirfd, RPS_MAX_FREQ_MHZ) == rpn); + igt_assert(set_freq(dirfd, RPS_MAX_FREQ_MHZ, rpe) > 0); + igt_assert(get_freq(dirfd, RPS_MAX_FREQ_MHZ) == rpe); + igt_assert(set_freq(dirfd, RPS_MAX_FREQ_MHZ, rp0) > 0); + igt_assert(get_freq(dirfd, RPS_MAX_FREQ_MHZ) == rp0); + +} + +static void test_reset(int i915, int dirfd, int gt) +{ + uint32_t rpn = get_freq(dirfd, RPS_RPn_FREQ_MHZ); + int fd; + + igt_assert(set_freq(dirfd, RPS_MIN_FREQ_MHZ, rpn) > 0); + igt_assert(set_freq(dirfd, RPS_MAX_FREQ_MHZ, rpn) > 0); + usleep(ACT_FREQ_LATENCY_US); + igt_assert(get_freq(dirfd, RPS_MIN_FREQ_MHZ) == rpn); + + /* Manually trigger a GT reset */ + fd = igt_debugfs_gt_open(i915, gt, "reset", O_WRONLY); + igt_require(fd >= 0); + igt_ignore_warn(write(fd, "1\n", 2)); + close(fd); + + igt_assert(get_freq(dirfd, RPS_MIN_FREQ_MHZ) == rpn); + igt_assert(get_freq(dirfd, RPS_MAX_FREQ_MHZ) == rpn); +} + +igt_main +{ + int i915 = -1; + uint32_t *stash_min, *stash_max; + + igt_fixture { + int num_gts, dirfd, gt; + + i915 = drm_open_driver(DRIVER_INTEL); + igt_require_gem(i915); + /* i915_pm_rps already covers execlist path */ + igt_require(gem_using_guc_submission(i915)); + + num_gts = igt_sysfs_get_num_gt(i915); + stash_min = (uint32_t*)malloc(sizeof(uint32_t) * num_gts); + stash_max = (uint32_t*)malloc(sizeof(uint32_t) * num_gts); + + /* Save curr min and max across GTs */ + for_each_sysfs_gt_dirfd(i915, dirfd, gt) { + stash_min[gt] = get_freq(dirfd, RPS_MIN_FREQ_MHZ); + stash_max[gt] = get_freq(dirfd, RPS_MAX_FREQ_MHZ); + } + } + + igt_describe("Test basic API for controlling min/max GT frequency"); + igt_subtest_with_dynamic_f("freq-basic-api") { + int dirfd, gt; + + for_each_sysfs_gt_dirfd(i915, dirfd, gt) + igt_dynamic_f("gt%u", gt) + test_freq_basic_api(dirfd, gt); + } + + igt_describe("Test basic freq API works after a reset"); + igt_subtest_with_dynamic_f("freq-reset") { + int dirfd, gt; + + for_each_sysfs_gt_dirfd(i915, dirfd, gt) + igt_dynamic_f("gt%u", gt) + test_reset(i915, dirfd, gt); + } + + igt_fixture { + int dirfd, gt; + /* Restore frequencies */ + for_each_sysfs_gt_dirfd(i915, dirfd, gt) { + igt_assert(set_freq(dirfd, RPS_MAX_FREQ_MHZ, stash_max[gt]) > 0); + igt_assert(set_freq(dirfd, RPS_MIN_FREQ_MHZ, stash_min[gt]) > 0); + } + close(i915); + } +} diff --git a/tests/meson.build b/tests/meson.build index da31e782..46109f10 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -202,6 +202,7 @@ i915_progs = [ 'gem_workarounds', 'i915_fb_tiling', 'i915_getparams_basic', + 'i915_pm_freq_api', 'i915_hangman', 'i915_hwmon', 'i915_module_load', -- 2.38.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [igt-dev] [PATCH i-g-t 3/3] HAX: tests/i915: Try out the SLPC IGT tests 2023-04-12 0:42 [igt-dev] [PATCH i-g-t v3 0/3] tests/slpc: Add basic IGT test Vinay Belgaumkar 2023-04-12 0:42 ` [igt-dev] [PATCH i-g-t 1/3] lib/debugfs: Add per GT debugfs helpers Vinay Belgaumkar 2023-04-12 0:42 ` [igt-dev] [PATCH i-g-t 2/3] i915_pm_freq_api: Add some basic SLPC igt tests Vinay Belgaumkar @ 2023-04-12 0:42 ` Vinay Belgaumkar 2023-04-12 1:37 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/slpc: Add basic IGT test (rev2) Patchwork 2023-04-12 13:55 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 4 siblings, 0 replies; 7+ messages in thread From: Vinay Belgaumkar @ 2023-04-12 0:42 UTC (permalink / raw) To: intel-gfx, igt-dev Trying out for CI. Do not review. Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com> --- tests/intel-ci/fast-feedback.testlist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/intel-ci/fast-feedback.testlist b/tests/intel-ci/fast-feedback.testlist index d9fcb62d..653668dd 100644 --- a/tests/intel-ci/fast-feedback.testlist +++ b/tests/intel-ci/fast-feedback.testlist @@ -139,6 +139,8 @@ igt@prime_self_import@basic-with_fd_dup igt@prime_self_import@basic-with_one_bo igt@prime_self_import@basic-with_one_bo_two_files igt@prime_self_import@basic-with_two_bos +igt@i915_pm_freq_api@freq-basic-api +igt@i915_pm_freq_api@freq-reset igt@prime_vgem@basic-fence-flip igt@prime_vgem@basic-fence-mmap igt@prime_vgem@basic-fence-read -- 2.38.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for tests/slpc: Add basic IGT test (rev2) 2023-04-12 0:42 [igt-dev] [PATCH i-g-t v3 0/3] tests/slpc: Add basic IGT test Vinay Belgaumkar ` (2 preceding siblings ...) 2023-04-12 0:42 ` [igt-dev] [PATCH i-g-t 3/3] HAX: tests/i915: Try out the SLPC IGT tests Vinay Belgaumkar @ 2023-04-12 1:37 ` Patchwork 2023-04-12 13:55 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork 4 siblings, 0 replies; 7+ messages in thread From: Patchwork @ 2023-04-12 1:37 UTC (permalink / raw) To: Vinay Belgaumkar; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 10394 bytes --] == Series Details == Series: tests/slpc: Add basic IGT test (rev2) URL : https://patchwork.freedesktop.org/series/115698/ State : success == Summary == CI Bug Log - changes from CI_DRM_12993 -> IGTPW_8783 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/index.html Participating hosts (37 -> 36) ------------------------------ Missing (1): fi-snb-2520m Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_8783: ### IGT changes ### #### Possible regressions #### * {igt@i915_pm_freq_api@freq-basic-api} (NEW): - bat-jsl-3: NOTRUN -> [SKIP][1] +1 similar issue [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/bat-jsl-3/igt@i915_pm_freq_api@freq-basic-api.html - fi-tgl-1115g4: NOTRUN -> [SKIP][2] +1 similar issue [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-tgl-1115g4/igt@i915_pm_freq_api@freq-basic-api.html - bat-jsl-1: NOTRUN -> [SKIP][3] +1 similar issue [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/bat-jsl-1/igt@i915_pm_freq_api@freq-basic-api.html * {igt@i915_pm_freq_api@freq-basic-api@gt0} (NEW): - fi-kbl-guc: NOTRUN -> [FAIL][4] [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-kbl-guc/igt@i915_pm_freq_api@freq-basic-api@gt0.html - fi-apl-guc: NOTRUN -> [FAIL][5] [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-apl-guc/igt@i915_pm_freq_api@freq-basic-api@gt0.html - fi-skl-guc: NOTRUN -> [FAIL][6] [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-skl-guc/igt@i915_pm_freq_api@freq-basic-api@gt0.html - fi-cfl-guc: NOTRUN -> [FAIL][7] [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-cfl-guc/igt@i915_pm_freq_api@freq-basic-api@gt0.html * {igt@i915_pm_freq_api@freq-reset} (NEW): - fi-rkl-11600: NOTRUN -> [SKIP][8] +1 similar issue [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-rkl-11600/igt@i915_pm_freq_api@freq-reset.html - bat-adls-5: NOTRUN -> [SKIP][9] +1 similar issue [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/bat-adls-5/igt@i915_pm_freq_api@freq-reset.html New tests --------- New tests have been introduced between CI_DRM_12993 and IGTPW_8783: ### New IGT tests (4) ### * igt@i915_pm_freq_api@freq-basic-api: - Statuses : 20 skip(s) - Exec time: [0.0] s * igt@i915_pm_freq_api@freq-basic-api@gt0: - Statuses : 4 fail(s) 12 pass(s) - Exec time: [0.0] s * igt@i915_pm_freq_api@freq-reset: - Statuses : 20 skip(s) - Exec time: [0.0] s * igt@i915_pm_freq_api@freq-reset@gt0: - Statuses : 16 pass(s) - Exec time: [0.0] s Known issues ------------ Here are the changes found in IGTPW_8783 that come from known issues: ### IGT changes ### #### Issues hit #### * {igt@i915_pm_freq_api@freq-basic-api} (NEW): - fi-glk-j4005: NOTRUN -> [SKIP][10] ([fdo#109271]) +1 similar issue [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-glk-j4005/igt@i915_pm_freq_api@freq-basic-api.html - fi-kbl-soraka: NOTRUN -> [SKIP][11] ([fdo#109271]) +1 similar issue [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-kbl-soraka/igt@i915_pm_freq_api@freq-basic-api.html - fi-cfl-8109u: NOTRUN -> [SKIP][12] ([fdo#109271]) +1 similar issue [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-cfl-8109u/igt@i915_pm_freq_api@freq-basic-api.html - fi-kbl-7567u: NOTRUN -> [SKIP][13] ([fdo#109271]) +1 similar issue [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-kbl-7567u/igt@i915_pm_freq_api@freq-basic-api.html - fi-cfl-8700k: NOTRUN -> [SKIP][14] ([fdo#109271]) +1 similar issue [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-cfl-8700k/igt@i915_pm_freq_api@freq-basic-api.html - fi-kbl-8809g: NOTRUN -> [SKIP][15] ([fdo#109271]) +1 similar issue [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-kbl-8809g/igt@i915_pm_freq_api@freq-basic-api.html - fi-ivb-3770: NOTRUN -> [SKIP][16] ([fdo#109271]) +1 similar issue [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-ivb-3770/igt@i915_pm_freq_api@freq-basic-api.html - fi-elk-e7500: NOTRUN -> [SKIP][17] ([fdo#109271]) +1 similar issue [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-elk-e7500/igt@i915_pm_freq_api@freq-basic-api.html - fi-bsw-nick: NOTRUN -> [SKIP][18] ([fdo#109271]) +1 similar issue [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-bsw-nick/igt@i915_pm_freq_api@freq-basic-api.html - fi-ilk-650: NOTRUN -> [SKIP][19] ([fdo#109271]) +1 similar issue [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-ilk-650/igt@i915_pm_freq_api@freq-basic-api.html - fi-kbl-x1275: NOTRUN -> [SKIP][20] ([fdo#109271]) +1 similar issue [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-kbl-x1275/igt@i915_pm_freq_api@freq-basic-api.html - fi-hsw-4770: NOTRUN -> [SKIP][21] ([fdo#109271]) +1 similar issue [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-hsw-4770/igt@i915_pm_freq_api@freq-basic-api.html * {igt@i915_pm_freq_api@freq-reset} (NEW): - fi-bsw-n3050: NOTRUN -> [SKIP][22] ([fdo#109271]) +1 similar issue [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-bsw-n3050/igt@i915_pm_freq_api@freq-reset.html - {bat-kbl-2}: NOTRUN -> [SKIP][23] ([fdo#109271]) +1 similar issue [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/bat-kbl-2/igt@i915_pm_freq_api@freq-reset.html - fi-skl-6600u: NOTRUN -> [SKIP][24] ([fdo#109271]) +1 similar issue [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-skl-6600u/igt@i915_pm_freq_api@freq-reset.html * igt@i915_selftest@live@reset: - bat-rpls-2: [PASS][25] -> [ABORT][26] ([i915#4983] / [i915#7913]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/bat-rpls-2/igt@i915_selftest@live@reset.html [26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/bat-rpls-2/igt@i915_selftest@live@reset.html * igt@i915_suspend@basic-s3-without-i915: - bat-dg2-8: NOTRUN -> [SKIP][27] ([i915#6645]) [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/bat-dg2-8/igt@i915_suspend@basic-s3-without-i915.html * igt@kms_chamelium_hpd@common-hpd-after-suspend: - bat-dg2-8: NOTRUN -> [SKIP][28] ([i915#7828]) [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/bat-dg2-8/igt@kms_chamelium_hpd@common-hpd-after-suspend.html - bat-rpls-1: NOTRUN -> [SKIP][29] ([i915#7828]) [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/bat-rpls-1/igt@kms_chamelium_hpd@common-hpd-after-suspend.html * igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence: - bat-dg2-11: NOTRUN -> [SKIP][30] ([i915#5354]) [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/bat-dg2-11/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence.html * igt@kms_pipe_crc_basic@suspend-read-crc: - bat-rpls-1: NOTRUN -> [SKIP][31] ([i915#1845]) [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/bat-rpls-1/igt@kms_pipe_crc_basic@suspend-read-crc.html #### Possible fixes #### * igt@gem_exec_suspend@basic-s3@smem: - bat-rpls-1: [ABORT][32] ([i915#6687] / [i915#7978]) -> [PASS][33] [32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/bat-rpls-1/igt@gem_exec_suspend@basic-s3@smem.html [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/bat-rpls-1/igt@gem_exec_suspend@basic-s3@smem.html * igt@i915_selftest@live@gt_heartbeat: - fi-apl-guc: [DMESG-FAIL][34] ([i915#5334]) -> [PASS][35] [34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/fi-apl-guc/igt@i915_selftest@live@gt_heartbeat.html * igt@i915_selftest@live@hangcheck: - bat-dg2-8: [ABORT][36] ([i915#7913] / [i915#7979]) -> [PASS][37] [36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/bat-dg2-8/igt@i915_selftest@live@hangcheck.html [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/bat-dg2-8/igt@i915_selftest@live@hangcheck.html * igt@i915_selftest@live@slpc: - bat-rplp-1: [DMESG-FAIL][38] ([i915#6367] / [i915#7913]) -> [PASS][39] [38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/bat-rplp-1/igt@i915_selftest@live@slpc.html [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/bat-rplp-1/igt@i915_selftest@live@slpc.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845 [i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983 [i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334 [i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354 [i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367 [i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645 [i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687 [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828 [i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913 [i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978 [i915#7979]: https://gitlab.freedesktop.org/drm/intel/issues/7979 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_7250 -> IGTPW_8783 CI-20190529: 20190529 CI_DRM_12993: 3f6d1a580787c3aa8c9c7f174bdce5b055d6d724 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_8783: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/index.html IGT_7250: 2da179d399d83a6859a89176d83b7ec1d71fe27a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git Testlist changes ---------------- +igt@i915_pm_freq_api@freq-basic-api +igt@i915_pm_freq_api@freq-reset == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/index.html [-- Attachment #2: Type: text/html, Size: 12912 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for tests/slpc: Add basic IGT test (rev2) 2023-04-12 0:42 [igt-dev] [PATCH i-g-t v3 0/3] tests/slpc: Add basic IGT test Vinay Belgaumkar ` (3 preceding siblings ...) 2023-04-12 1:37 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/slpc: Add basic IGT test (rev2) Patchwork @ 2023-04-12 13:55 ` Patchwork 4 siblings, 0 replies; 7+ messages in thread From: Patchwork @ 2023-04-12 13:55 UTC (permalink / raw) To: Vinay Belgaumkar; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 16307 bytes --] == Series Details == Series: tests/slpc: Add basic IGT test (rev2) URL : https://patchwork.freedesktop.org/series/115698/ State : success == Summary == CI Bug Log - changes from CI_DRM_12993_full -> IGTPW_8783_full ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/index.html Participating hosts (7 -> 7) ------------------------------ No changes in participating hosts Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_8783_full: ### IGT changes ### #### Possible regressions #### * {igt@i915_pm_freq_api@freq-basic-api} (NEW): - {shard-tglu}: NOTRUN -> [SKIP][1] +1 similar issue [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-tglu-5/igt@i915_pm_freq_api@freq-basic-api.html - {shard-rkl}: NOTRUN -> [SKIP][2] +1 similar issue [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-rkl-1/igt@i915_pm_freq_api@freq-basic-api.html #### Suppressed #### The following results come from untrusted machines, tests, or statuses. They do not affect the overall result. * igt@i915_pipe_stress@stress-xrgb8888-ytiled: - {shard-rkl}: [PASS][3] -> [ABORT][4] [3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-rkl-3/igt@i915_pipe_stress@stress-xrgb8888-ytiled.html [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-rkl-1/igt@i915_pipe_stress@stress-xrgb8888-ytiled.html New tests --------- New tests have been introduced between CI_DRM_12993_full and IGTPW_8783_full: ### New IGT tests (3) ### * igt@i915_pm_freq_api@freq-basic-api: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@i915_pm_freq_api@freq-basic-api@gt0: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@i915_pm_freq_api@freq-reset: - Statuses : 5 skip(s) - Exec time: [0.0] s Known issues ------------ Here are the changes found in IGTPW_8783_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@gem_exec_fair@basic-pace@rcs0: - shard-glk: [PASS][5] -> [FAIL][6] ([i915#2842]) [5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-glk3/igt@gem_exec_fair@basic-pace@rcs0.html [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-glk3/igt@gem_exec_fair@basic-pace@rcs0.html * igt@gem_huc_copy@huc-copy: - shard-glk: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#2190]) [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-glk1/igt@gem_huc_copy@huc-copy.html * igt@gem_userptr_blits@access-control: - shard-glk: NOTRUN -> [SKIP][8] ([fdo#109271]) +10 similar issues [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-glk1/igt@gem_userptr_blits@access-control.html * igt@gen9_exec_parse@allowed-all: - shard-apl: [PASS][9] -> [ABORT][10] ([i915#5566]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-apl1/igt@gen9_exec_parse@allowed-all.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-apl6/igt@gen9_exec_parse@allowed-all.html * {igt@i915_pm_freq_api@freq-basic-api} (NEW): - shard-apl: NOTRUN -> [SKIP][11] ([fdo#109271]) +12 similar issues [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-apl7/igt@i915_pm_freq_api@freq-basic-api.html - shard-snb: NOTRUN -> [SKIP][12] ([fdo#109271]) +1 similar issue [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-snb7/igt@i915_pm_freq_api@freq-basic-api.html * igt@i915_selftest@live@gt_heartbeat: - shard-apl: [PASS][13] -> [DMESG-FAIL][14] ([i915#5334]) [13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-apl1/igt@i915_selftest@live@gt_heartbeat.html [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-apl7/igt@i915_selftest@live@gt_heartbeat.html * igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc: - shard-glk: NOTRUN -> [SKIP][15] ([fdo#109271] / [i915#3886]) +1 similar issue [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-glk2/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_rc_ccs_cc.html * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size: - shard-apl: [PASS][16] -> [FAIL][17] ([i915#2346]) [16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-apl3/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-apl1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html #### Possible fixes #### * igt@gem_exec_endless@dispatch@bcs0: - {shard-tglu}: [TIMEOUT][18] ([i915#3778]) -> [PASS][19] [18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-tglu-9/igt@gem_exec_endless@dispatch@bcs0.html [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-tglu-3/igt@gem_exec_endless@dispatch@bcs0.html * igt@gem_exec_fair@basic-pace-share@rcs0: - shard-glk: [FAIL][20] ([i915#2842]) -> [PASS][21] [20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-glk9/igt@gem_exec_fair@basic-pace-share@rcs0.html [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-glk2/igt@gem_exec_fair@basic-pace-share@rcs0.html * igt@gem_exec_fair@basic-pace-solo@rcs0: - shard-apl: [FAIL][22] ([i915#2842]) -> [PASS][23] +1 similar issue [22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-apl6/igt@gem_exec_fair@basic-pace-solo@rcs0.html [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-apl3/igt@gem_exec_fair@basic-pace-solo@rcs0.html * igt@gen9_exec_parse@allowed-single: - shard-glk: [ABORT][24] ([i915#5566]) -> [PASS][25] [24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-glk7/igt@gen9_exec_parse@allowed-single.html [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-glk6/igt@gen9_exec_parse@allowed-single.html * igt@i915_pm_rpm@dpms-mode-unset-lpsp: - {shard-dg1}: [SKIP][26] ([i915#1397]) -> [PASS][27] [26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-dg1-18/igt@i915_pm_rpm@dpms-mode-unset-lpsp.html [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-dg1-14/igt@i915_pm_rpm@dpms-mode-unset-lpsp.html * igt@i915_pm_rpm@modeset-non-lpsp: - {shard-rkl}: [SKIP][28] ([i915#1397]) -> [PASS][29] [28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-rkl-7/igt@i915_pm_rpm@modeset-non-lpsp.html [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-rkl-2/igt@i915_pm_rpm@modeset-non-lpsp.html * igt@kms_flip@flip-vs-suspend-interruptible@c-dp1: - shard-apl: [ABORT][30] ([i915#180]) -> [PASS][31] [30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-apl6/igt@kms_flip@flip-vs-suspend-interruptible@c-dp1.html [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-apl4/igt@kms_flip@flip-vs-suspend-interruptible@c-dp1.html * igt@kms_plane_scaling@i915-max-src-size@pipe-a-hdmi-a-1: - {shard-tglu}: [FAIL][32] ([i915#8292]) -> [PASS][33] [32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-tglu-8/igt@kms_plane_scaling@i915-max-src-size@pipe-a-hdmi-a-1.html [33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-tglu-3/igt@kms_plane_scaling@i915-max-src-size@pipe-a-hdmi-a-1.html * igt@perf@stress-open-close@0-rcs0: - shard-glk: [ABORT][34] ([i915#5213]) -> [PASS][35] [34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12993/shard-glk7/igt@perf@stress-open-close@0-rcs0.html [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/shard-glk1/igt@perf@stress-open-close@0-rcs0.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274 [fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280 [fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285 [fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289 [fdo#109300]: https://bugs.freedesktop.org/show_bug.cgi?id=109300 [fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309 [fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315 [fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506 [fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189 [fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723 [fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068 [fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615 [fdo#111644]: https://bugs.freedesktop.org/show_bug.cgi?id=111644 [fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825 [fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827 [i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072 [i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397 [i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180 [i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825 [i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839 [i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190 [i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346 [i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433 [i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527 [i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575 [i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587 [i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672 [i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705 [i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280 [i915#284]: https://gitlab.freedesktop.org/drm/intel/issues/284 [i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842 [i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856 [i915#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023 [i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315 [i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281 [i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282 [i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297 [i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299 [i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359 [i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458 [i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469 [i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528 [i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539 [i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555 [i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637 [i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638 [i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689 [i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708 [i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734 [i915#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743 [i915#3778]: https://gitlab.freedesktop.org/drm/intel/issues/3778 [i915#3804]: https://gitlab.freedesktop.org/drm/intel/issues/3804 [i915#3826]: https://gitlab.freedesktop.org/drm/intel/issues/3826 [i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886 [i915#3936]: https://gitlab.freedesktop.org/drm/intel/issues/3936 [i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955 [i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070 [i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077 [i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078 [i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079 [i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083 [i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098 [i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103 [i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212 [i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213 [i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270 [i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391 [i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538 [i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565 [i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579 [i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812 [i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833 [i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852 [i915#4854]: https://gitlab.freedesktop.org/drm/intel/issues/4854 [i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860 [i915#4879]: https://gitlab.freedesktop.org/drm/intel/issues/4879 [i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880 [i915#4881]: https://gitlab.freedesktop.org/drm/intel/issues/4881 [i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885 [i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176 [i915#5213]: https://gitlab.freedesktop.org/drm/intel/issues/5213 [i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235 [i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286 [i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289 [i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325 [i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533 [i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334 [i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354 [i915#5431]: https://gitlab.freedesktop.org/drm/intel/issues/5431 [i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439 [i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563 [i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566 [i915#5723]: https://gitlab.freedesktop.org/drm/intel/issues/5723 [i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095 [i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433 [i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658 [i915#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590 [i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768 [i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953 [i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116 [i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118 [i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561 [i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697 [i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711 [i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828 [i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975 [i915#7984]: https://gitlab.freedesktop.org/drm/intel/issues/7984 [i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011 [i915#8247]: https://gitlab.freedesktop.org/drm/intel/issues/8247 [i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292 [i915#8308]: https://gitlab.freedesktop.org/drm/intel/issues/8308 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_7250 -> IGTPW_8783 * Piglit: piglit_4509 -> None CI-20190529: 20190529 CI_DRM_12993: 3f6d1a580787c3aa8c9c7f174bdce5b055d6d724 @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_8783: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/index.html IGT_7250: 2da179d399d83a6859a89176d83b7ec1d71fe27a @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8783/index.html [-- Attachment #2: Type: text/html, Size: 11298 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* [igt-dev] [PATCH v4 i-g-t 0/3] tests/slpc: Add basic IGT test @ 2023-04-13 0:48 Vinay Belgaumkar 2023-04-13 0:48 ` [igt-dev] [PATCH i-g-t 1/3] lib/debugfs: Add per GT debugfs helpers Vinay Belgaumkar 0 siblings, 1 reply; 7+ messages in thread From: Vinay Belgaumkar @ 2023-04-13 0:48 UTC (permalink / raw) To: intel-gfx, igt-dev Borrow some subtests from xe_guc_pc. Also add per GT debugfs helpers. v3: Review comments and add HAX patch v4: Modify the condition for skipping the test Signed-off-by: Vinay Belgaumkar <vinay.belgaumkar@intel.com> Vinay Belgaumkar (3): lib/debugfs: Add per GT debugfs helpers i915_pm_freq_api: Add some basic SLPC igt tests HAX: tests/i915: Try out the SLPC IGT tests lib/igt_debugfs.c | 60 ++++++++++ lib/igt_debugfs.h | 4 + tests/i915/i915_pm_freq_api.c | 152 ++++++++++++++++++++++++++ tests/intel-ci/fast-feedback.testlist | 2 + tests/meson.build | 1 + 5 files changed, 219 insertions(+) create mode 100644 tests/i915/i915_pm_freq_api.c -- 2.38.1 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [igt-dev] [PATCH i-g-t 1/3] lib/debugfs: Add per GT debugfs helpers 2023-04-13 0:48 [igt-dev] [PATCH v4 i-g-t 0/3] tests/slpc: Add basic IGT test Vinay Belgaumkar @ 2023-04-13 0:48 ` Vinay Belgaumkar 0 siblings, 0 replies; 7+ messages in thread From: Vinay Belgaumkar @ 2023-04-13 0:48 UTC (permalink / raw) To: intel-gfx, igt-dev These can be used to open per-gt debugfs files. Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Vinay Belgaumkar <viay.belgaumkar@intel.com> --- lib/igt_debugfs.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++ lib/igt_debugfs.h | 4 ++++ 2 files changed, 64 insertions(+) diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c index 05889bbe..afde2da6 100644 --- a/lib/igt_debugfs.c +++ b/lib/igt_debugfs.c @@ -217,6 +217,37 @@ int igt_debugfs_dir(int device) return open(path, O_RDONLY); } +/** + * igt_debugfs_gt_dir: + * @device: fd of the device + * @gt: GT instance number + * + * This opens the debugfs directory corresponding to device for use + * with igt_sysfs_get() and related functions. + * + * Returns: + * The directory fd, or -1 on failure. + */ +int igt_debugfs_gt_dir(int device, unsigned int gt) +{ + int debugfs_gt_dir_fd; + char path[PATH_MAX]; + char gtpath[16]; + int ret; + + if (!igt_debugfs_path(device, path, sizeof(path))) + return -1; + + ret = snprintf(gtpath, sizeof(gtpath), "/gt%u", gt); + igt_assert(ret < sizeof(gtpath)); + strncat(path, gtpath, sizeof(path) - 1); + + debugfs_gt_dir_fd = open(path, O_RDONLY); + igt_debug_on_f(debugfs_gt_dir_fd < 0, "path: %s\n", path); + + return debugfs_gt_dir_fd; +} + /** * igt_debugfs_connector_dir: * @device: fd of the device @@ -313,6 +344,35 @@ bool igt_debugfs_exists(int device, const char *filename, int mode) return false; } +/** + * igt_debugfs_gt_open: + * @device: open i915 drm fd + * @gt: gt instance number + * @filename: name of the debugfs node to open + * @mode: mode bits as used by open() + * + * This opens a debugfs file as a Unix file descriptor. The filename should be + * relative to the drm device's root, i.e. without "drm/$minor". + * + * Returns: + * The Unix file descriptor for the debugfs file or -1 if that didn't work out. + */ +int +igt_debugfs_gt_open(int device, unsigned int gt, const char *filename, int mode) +{ + int dir, ret; + + dir = igt_debugfs_gt_dir(device, gt); + if (dir < 0) + return dir; + + ret = openat(dir, filename, mode); + + close(dir); + + return ret; +} + /** * igt_debugfs_simple_read: * @dir: fd of the debugfs directory diff --git a/lib/igt_debugfs.h b/lib/igt_debugfs.h index 4824344a..3e6194ad 100644 --- a/lib/igt_debugfs.h +++ b/lib/igt_debugfs.h @@ -45,6 +45,10 @@ void __igt_debugfs_write(int fd, const char *filename, const char *buf, int size int igt_debugfs_simple_read(int dir, const char *filename, char *buf, int size); bool igt_debugfs_search(int fd, const char *filename, const char *substring); +int igt_debugfs_gt_dir(int device, unsigned int gt); +int igt_debugfs_gt_open(int device, unsigned int gt, const char *filename, + int mode); + /** * igt_debugfs_read: * @filename: name of the debugfs file -- 2.38.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-04-13 0:48 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-04-12 0:42 [igt-dev] [PATCH i-g-t v3 0/3] tests/slpc: Add basic IGT test Vinay Belgaumkar 2023-04-12 0:42 ` [igt-dev] [PATCH i-g-t 1/3] lib/debugfs: Add per GT debugfs helpers Vinay Belgaumkar 2023-04-12 0:42 ` [igt-dev] [PATCH i-g-t 2/3] i915_pm_freq_api: Add some basic SLPC igt tests Vinay Belgaumkar 2023-04-12 0:42 ` [igt-dev] [PATCH i-g-t 3/3] HAX: tests/i915: Try out the SLPC IGT tests Vinay Belgaumkar 2023-04-12 1:37 ` [igt-dev] ✓ Fi.CI.BAT: success for tests/slpc: Add basic IGT test (rev2) Patchwork 2023-04-12 13:55 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork -- strict thread matches above, loose matches on Subject: below -- 2023-04-13 0:48 [igt-dev] [PATCH v4 i-g-t 0/3] tests/slpc: Add basic IGT test Vinay Belgaumkar 2023-04-13 0:48 ` [igt-dev] [PATCH i-g-t 1/3] lib/debugfs: Add per GT debugfs helpers Vinay Belgaumkar
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox