* [Intel-gfx] [PATCH i-g-t] igt: Add gem_ctx_freq to exercise requesting freq via sysfs
@ 2019-11-26 11:38 ` Chris Wilson
0 siblings, 0 replies; 11+ messages in thread
From: Chris Wilson @ 2019-11-26 11:38 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev
Once propposed long ago was per-context frequency controls. As part of
that this test suite was written, which among its tests covered the
interaction of sysfs with the per-context controls. While we wait again
for approval of the per-context API, we can at least leverage the sysfs
tests to provide sorely lacking coverage of the sysfs knobs.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/Makefile.am | 1 +
tests/Makefile.sources | 3 +
tests/i915/gem_ctx_freq.c | 216 ++++++++++++++++++++++++++++++++++++++
tests/meson.build | 8 ++
4 files changed, 228 insertions(+)
create mode 100644 tests/i915/gem_ctx_freq.c
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7d71df8c7..7fe60b78e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -93,6 +93,7 @@ gem_create_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
gem_create_LDADD = $(LDADD) -lpthread -latomic
gem_close_race_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
gem_close_race_LDADD = $(LDADD) -lpthread
+gem_ctx_freq_LDADD = $(LDADD) $(top_builddir)/lib/libigt_perf.la
gem_ctx_thrash_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
gem_ctx_thrash_LDADD = $(LDADD) -lpthread
gem_ctx_sseu_LDADD = $(LDADD) $(top_builddir)/lib/libigt_perf.la
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index f2dcca6d7..d86f9c263 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -152,6 +152,9 @@ gem_ctx_engines_SOURCES = i915/gem_ctx_engines.c
TESTS_progs += gem_ctx_exec
gem_ctx_exec_SOURCES = i915/gem_ctx_exec.c
+TESTS_progs += gem_ctx_freq
+gem_ctx_freq_SOURCES = i915/gem_ctx_freq.c
+
TESTS_progs += gem_ctx_isolation
gem_ctx_isolation_SOURCES = i915/gem_ctx_isolation.c
diff --git a/tests/i915/gem_ctx_freq.c b/tests/i915/gem_ctx_freq.c
new file mode 100644
index 000000000..bc093654a
--- /dev/null
+++ b/tests/i915/gem_ctx_freq.c
@@ -0,0 +1,216 @@
+/*
+ * Copyright © 2018 Intel Corporation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ *
+ */
+
+#include <errno.h>
+#include <fcntl.h>
+#include <sched.h>
+#include <stdlib.h>
+#include <stdint.h>
+#include <unistd.h>
+
+#include "igt.h"
+#include "igt_perf.h"
+#include "igt_sysfs.h"
+#include "sw_sync.h"
+
+#define SAMPLE_PERIOD (USEC_PER_SEC / 10)
+#define PMU_TOLERANCE 100
+
+static int sysfs = -1;
+
+static void kick_rps_worker(void)
+{
+ sched_yield();
+ usleep(SAMPLE_PERIOD);
+}
+
+static double measure_frequency(int pmu, int period_us)
+{
+ uint64_t data[2];
+ uint64_t d_t, d_v;
+
+ kick_rps_worker(); /* let the kthreads (intel_rps_work) run */
+
+ igt_assert_eq(read(pmu, data, sizeof(data)), sizeof(data));
+ d_v = -data[0];
+ d_t = -data[1];
+
+ usleep(period_us);
+
+ igt_assert_eq(read(pmu, data, sizeof(data)), sizeof(data));
+ d_v += data[0];
+ d_t += data[1];
+
+ return d_v * 1e9 / d_t;
+}
+
+static bool __pmu_within_tolerance(double actual, double target)
+{
+ return (actual > target - PMU_TOLERANCE &&
+ actual < target + PMU_TOLERANCE);
+}
+
+static void pmu_assert(double actual, double target)
+{
+ igt_assert_f(__pmu_within_tolerance(actual, target),
+ "Measured frequency %.2fMHz, is beyond target %.0f±%dMhz\n",
+ actual, target, PMU_TOLERANCE);
+}
+
+static void busy_wait_until_idle(int i915, igt_spin_t *spin)
+{
+ igt_spin_end(spin);
+ do {
+ usleep(10000);
+ } while (gem_bo_busy(i915, spin->handle));
+}
+
+static void __igt_spin_free_idle(int i915, igt_spin_t *spin)
+{
+ busy_wait_until_idle(i915, spin);
+
+ igt_spin_free(i915, spin);
+}
+
+#define TRIANGLE_SIZE(x) (2 * (x) + 1)
+static void triangle_fill(uint32_t *t, unsigned int nstep,
+ uint32_t min, uint32_t max)
+{
+ for (unsigned int step = 0; step <= 2*nstep; step++) {
+ int frac = step > nstep ? 2*nstep - step : step;
+ t[step] = min + (max - min) * frac / nstep;
+ }
+}
+
+static void set_sysfs_freq(uint32_t min, uint32_t max)
+{
+ igt_sysfs_printf(sysfs, "gt_min_freq_mhz", "%u", min);
+ igt_sysfs_printf(sysfs, "gt_max_freq_mhz", "%u", max);
+}
+
+static void get_sysfs_freq(uint32_t *min, uint32_t *max)
+{
+ igt_sysfs_scanf(sysfs, "gt_min_freq_mhz", "%u", min);
+ igt_sysfs_scanf(sysfs, "gt_max_freq_mhz", "%u", max);
+}
+
+static void sysfs_range(int i915)
+{
+#define N_STEPS 10
+ uint32_t frequencies[TRIANGLE_SIZE(N_STEPS)];
+ uint32_t sys_min, sys_max;
+ igt_spin_t *spin;
+ double measured;
+ int pmu;
+
+ /*
+ * The sysfs interface sets the global limits and overrides the
+ * user's request. So we can to check that if the user requests
+ * a range outside of the sysfs, the requests are only run at the
+ * constriained sysfs range.
+ */
+
+ get_sysfs_freq(&sys_min, &sys_max);
+ igt_info("System min freq: %dMHz; max freq: %dMHz\n", sys_min, sys_max);
+
+ triangle_fill(frequencies, N_STEPS, sys_min, sys_max);
+
+ pmu = perf_i915_open(I915_PMU_REQUESTED_FREQUENCY);
+ igt_require(pmu >= 0);
+
+ for (int outer = 0; outer <= 2*N_STEPS; outer++) {
+ uint32_t sys_freq = frequencies[outer];
+ uint32_t cur, discard;
+
+ gem_quiescent_gpu(i915);
+ spin = igt_spin_new(i915);
+ usleep(10000);
+
+ set_sysfs_freq(sys_freq, sys_freq);
+ get_sysfs_freq(&cur, &discard);
+
+ measured = measure_frequency(pmu, SAMPLE_PERIOD);
+ igt_debugfs_dump(i915, "i915_rps_boost_info");
+
+ set_sysfs_freq(sys_min, sys_max);
+ __igt_spin_free_idle(i915, spin);
+
+ igt_info("sysfs: Measured %.1fMHz, expected %dMhz\n",
+ measured, cur);
+ pmu_assert(measured, cur);
+ }
+ gem_quiescent_gpu(i915);
+
+ close(pmu);
+
+#undef N_STEPS
+}
+
+static void restore_sysfs_freq(int sig)
+{
+ char buf[256];
+
+ if (igt_sysfs_read(sysfs, "gt_RPn_freq_mhz", buf, sizeof(buf)) > 0) {
+ igt_sysfs_set(sysfs, "gt_idle_freq_mhz", buf);
+ igt_sysfs_set(sysfs, "gt_min_freq_mhz", buf);
+ }
+
+ if (igt_sysfs_read(sysfs, "gt_RP0_freq_mhz", buf, sizeof(buf)) > 0) {
+ igt_sysfs_set(sysfs, "gt_max_freq_mhz", buf);
+ igt_sysfs_set(sysfs, "gt_boost_freq_mhz", buf);
+ }
+}
+
+static void disable_boost(int i915)
+{
+ char *value;
+
+ value = igt_sysfs_get(i915, "gt_RPn_freq_mhz");
+ igt_sysfs_set(i915, "gt_min_freq_mhz", value);
+ igt_sysfs_set(i915, "gt_boost_freq_mhz", value);
+ free(value);
+
+ value = igt_sysfs_get(i915, "gt_RP0_freq_mhz");
+ igt_sysfs_set(i915, "gt_max_freq_mhz", value);
+ free(value);
+}
+
+igt_main
+{
+ int i915 = -1;
+
+ igt_fixture {
+ i915 = drm_open_driver(DRIVER_INTEL);
+ igt_require_gem(i915);
+
+ sysfs = igt_sysfs_open(i915);
+ igt_assert(sysfs != -1);
+ igt_install_exit_handler(restore_sysfs_freq);
+
+ disable_boost(sysfs);
+ }
+
+ igt_subtest_f("sysfs")
+ sysfs_range(i915);
+}
diff --git a/tests/meson.build b/tests/meson.build
index ca2b8b62d..a909d271e 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -291,6 +291,14 @@ test_executables += executable('gem_create',
install : true)
test_list += 'gem_create'
+test_executables += executable('gem_ctx_freq',
+ join_paths('i915', 'gem_ctx_freq.c'),
+ dependencies : test_deps + [ lib_igt_perf ],
+ install_dir : libexecdir,
+ install_rpath : libexecdir_rpathdir,
+ install : true)
+test_list += 'gem_ctx_freq'
+
test_executables += executable('gem_ctx_sseu',
join_paths('i915', 'gem_ctx_sseu.c'),
dependencies : test_deps + [ lib_igt_perf ],
--
2.24.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH i-g-t] igt: Add gem_ctx_freq to exercise requesting freq via sysfs
@ 2019-11-26 11:38 ` Chris Wilson
0 siblings, 0 replies; 11+ messages in thread
From: Chris Wilson @ 2019-11-26 11:38 UTC (permalink / raw)
To: intel-gfx; +Cc: igt-dev
Once propposed long ago was per-context frequency controls. As part of
that this test suite was written, which among its tests covered the
interaction of sysfs with the per-context controls. While we wait again
for approval of the per-context API, we can at least leverage the sysfs
tests to provide sorely lacking coverage of the sysfs knobs.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
---
tests/Makefile.am | 1 +
tests/Makefile.sources | 3 +
tests/i915/gem_ctx_freq.c | 216 ++++++++++++++++++++++++++++++++++++++
tests/meson.build | 8 ++
4 files changed, 228 insertions(+)
create mode 100644 tests/i915/gem_ctx_freq.c
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 7d71df8c7..7fe60b78e 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -93,6 +93,7 @@ gem_create_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
gem_create_LDADD = $(LDADD) -lpthread -latomic
gem_close_race_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
gem_close_race_LDADD = $(LDADD) -lpthread
+gem_ctx_freq_LDADD = $(LDADD) $(top_builddir)/lib/libigt_perf.la
gem_ctx_thrash_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
gem_ctx_thrash_LDADD = $(LDADD) -lpthread
gem_ctx_sseu_LDADD = $(LDADD) $(top_builddir)/lib/libigt_perf.la
diff --git a/tests/Makefile.sources b/tests/Makefile.sources
index f2dcca6d7..d86f9c263 100644
--- a/tests/Makefile.sources
+++ b/tests/Makefile.sources
@@ -152,6 +152,9 @@ gem_ctx_engines_SOURCES = i915/gem_ctx_engines.c
TESTS_progs += gem_ctx_exec
gem_ctx_exec_SOURCES = i915/gem_ctx_exec.c
+TESTS_progs += gem_ctx_freq
+gem_ctx_freq_SOURCES = i915/gem_ctx_freq.c
+
TESTS_progs += gem_ctx_isolation
gem_ctx_isolation_SOURCES = i915/gem_ctx_isolation.c
diff --git a/tests/i915/gem_ctx_freq.c b/tests/i915/gem_ctx_freq.c
new file mode 100644
index 000000000..bc093654a
--- /dev/null
+++ b/tests/i915/gem_ctx_freq.c
@@ -0,0 +1,216 @@
+/*
+ * Copyright © 2018 Intel Corporation
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice (including the next
+ * paragraph) shall be included in all copies or substantial portions of the
+ * Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+ * IN THE SOFTWARE.
+ *
+ */
+
+#include <errno.h>
+#include <fcntl.h>
+#include <sched.h>
+#include <stdlib.h>
+#include <stdint.h>
+#include <unistd.h>
+
+#include "igt.h"
+#include "igt_perf.h"
+#include "igt_sysfs.h"
+#include "sw_sync.h"
+
+#define SAMPLE_PERIOD (USEC_PER_SEC / 10)
+#define PMU_TOLERANCE 100
+
+static int sysfs = -1;
+
+static void kick_rps_worker(void)
+{
+ sched_yield();
+ usleep(SAMPLE_PERIOD);
+}
+
+static double measure_frequency(int pmu, int period_us)
+{
+ uint64_t data[2];
+ uint64_t d_t, d_v;
+
+ kick_rps_worker(); /* let the kthreads (intel_rps_work) run */
+
+ igt_assert_eq(read(pmu, data, sizeof(data)), sizeof(data));
+ d_v = -data[0];
+ d_t = -data[1];
+
+ usleep(period_us);
+
+ igt_assert_eq(read(pmu, data, sizeof(data)), sizeof(data));
+ d_v += data[0];
+ d_t += data[1];
+
+ return d_v * 1e9 / d_t;
+}
+
+static bool __pmu_within_tolerance(double actual, double target)
+{
+ return (actual > target - PMU_TOLERANCE &&
+ actual < target + PMU_TOLERANCE);
+}
+
+static void pmu_assert(double actual, double target)
+{
+ igt_assert_f(__pmu_within_tolerance(actual, target),
+ "Measured frequency %.2fMHz, is beyond target %.0f±%dMhz\n",
+ actual, target, PMU_TOLERANCE);
+}
+
+static void busy_wait_until_idle(int i915, igt_spin_t *spin)
+{
+ igt_spin_end(spin);
+ do {
+ usleep(10000);
+ } while (gem_bo_busy(i915, spin->handle));
+}
+
+static void __igt_spin_free_idle(int i915, igt_spin_t *spin)
+{
+ busy_wait_until_idle(i915, spin);
+
+ igt_spin_free(i915, spin);
+}
+
+#define TRIANGLE_SIZE(x) (2 * (x) + 1)
+static void triangle_fill(uint32_t *t, unsigned int nstep,
+ uint32_t min, uint32_t max)
+{
+ for (unsigned int step = 0; step <= 2*nstep; step++) {
+ int frac = step > nstep ? 2*nstep - step : step;
+ t[step] = min + (max - min) * frac / nstep;
+ }
+}
+
+static void set_sysfs_freq(uint32_t min, uint32_t max)
+{
+ igt_sysfs_printf(sysfs, "gt_min_freq_mhz", "%u", min);
+ igt_sysfs_printf(sysfs, "gt_max_freq_mhz", "%u", max);
+}
+
+static void get_sysfs_freq(uint32_t *min, uint32_t *max)
+{
+ igt_sysfs_scanf(sysfs, "gt_min_freq_mhz", "%u", min);
+ igt_sysfs_scanf(sysfs, "gt_max_freq_mhz", "%u", max);
+}
+
+static void sysfs_range(int i915)
+{
+#define N_STEPS 10
+ uint32_t frequencies[TRIANGLE_SIZE(N_STEPS)];
+ uint32_t sys_min, sys_max;
+ igt_spin_t *spin;
+ double measured;
+ int pmu;
+
+ /*
+ * The sysfs interface sets the global limits and overrides the
+ * user's request. So we can to check that if the user requests
+ * a range outside of the sysfs, the requests are only run at the
+ * constriained sysfs range.
+ */
+
+ get_sysfs_freq(&sys_min, &sys_max);
+ igt_info("System min freq: %dMHz; max freq: %dMHz\n", sys_min, sys_max);
+
+ triangle_fill(frequencies, N_STEPS, sys_min, sys_max);
+
+ pmu = perf_i915_open(I915_PMU_REQUESTED_FREQUENCY);
+ igt_require(pmu >= 0);
+
+ for (int outer = 0; outer <= 2*N_STEPS; outer++) {
+ uint32_t sys_freq = frequencies[outer];
+ uint32_t cur, discard;
+
+ gem_quiescent_gpu(i915);
+ spin = igt_spin_new(i915);
+ usleep(10000);
+
+ set_sysfs_freq(sys_freq, sys_freq);
+ get_sysfs_freq(&cur, &discard);
+
+ measured = measure_frequency(pmu, SAMPLE_PERIOD);
+ igt_debugfs_dump(i915, "i915_rps_boost_info");
+
+ set_sysfs_freq(sys_min, sys_max);
+ __igt_spin_free_idle(i915, spin);
+
+ igt_info("sysfs: Measured %.1fMHz, expected %dMhz\n",
+ measured, cur);
+ pmu_assert(measured, cur);
+ }
+ gem_quiescent_gpu(i915);
+
+ close(pmu);
+
+#undef N_STEPS
+}
+
+static void restore_sysfs_freq(int sig)
+{
+ char buf[256];
+
+ if (igt_sysfs_read(sysfs, "gt_RPn_freq_mhz", buf, sizeof(buf)) > 0) {
+ igt_sysfs_set(sysfs, "gt_idle_freq_mhz", buf);
+ igt_sysfs_set(sysfs, "gt_min_freq_mhz", buf);
+ }
+
+ if (igt_sysfs_read(sysfs, "gt_RP0_freq_mhz", buf, sizeof(buf)) > 0) {
+ igt_sysfs_set(sysfs, "gt_max_freq_mhz", buf);
+ igt_sysfs_set(sysfs, "gt_boost_freq_mhz", buf);
+ }
+}
+
+static void disable_boost(int i915)
+{
+ char *value;
+
+ value = igt_sysfs_get(i915, "gt_RPn_freq_mhz");
+ igt_sysfs_set(i915, "gt_min_freq_mhz", value);
+ igt_sysfs_set(i915, "gt_boost_freq_mhz", value);
+ free(value);
+
+ value = igt_sysfs_get(i915, "gt_RP0_freq_mhz");
+ igt_sysfs_set(i915, "gt_max_freq_mhz", value);
+ free(value);
+}
+
+igt_main
+{
+ int i915 = -1;
+
+ igt_fixture {
+ i915 = drm_open_driver(DRIVER_INTEL);
+ igt_require_gem(i915);
+
+ sysfs = igt_sysfs_open(i915);
+ igt_assert(sysfs != -1);
+ igt_install_exit_handler(restore_sysfs_freq);
+
+ disable_boost(sysfs);
+ }
+
+ igt_subtest_f("sysfs")
+ sysfs_range(i915);
+}
diff --git a/tests/meson.build b/tests/meson.build
index ca2b8b62d..a909d271e 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -291,6 +291,14 @@ test_executables += executable('gem_create',
install : true)
test_list += 'gem_create'
+test_executables += executable('gem_ctx_freq',
+ join_paths('i915', 'gem_ctx_freq.c'),
+ dependencies : test_deps + [ lib_igt_perf ],
+ install_dir : libexecdir,
+ install_rpath : libexecdir_rpathdir,
+ install : true)
+test_list += 'gem_ctx_freq'
+
test_executables += executable('gem_ctx_sseu',
join_paths('i915', 'gem_ctx_sseu.c'),
dependencies : test_deps + [ lib_igt_perf ],
--
2.24.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] igt: Add gem_ctx_freq to exercise requesting freq via sysfs
2019-11-26 11:38 ` Chris Wilson
(?)
@ 2019-11-26 11:54 ` Mika Kuoppala
-1 siblings, 0 replies; 11+ messages in thread
From: Mika Kuoppala @ 2019-11-26 11:54 UTC (permalink / raw)
To: Chris Wilson, intel-gfx; +Cc: igt-dev
Chris Wilson <chris@chris-wilson.co.uk> writes:
> Once propposed long ago was per-context frequency controls. As part of
> that this test suite was written, which among its tests covered the
> interaction of sysfs with the per-context controls. While we wait again
> for approval of the per-context API, we can at least leverage the sysfs
> tests to provide sorely lacking coverage of the sysfs knobs.
s/propposed/proposed.
s/its/it's
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
> ---
> tests/Makefile.am | 1 +
> tests/Makefile.sources | 3 +
> tests/i915/gem_ctx_freq.c | 216 ++++++++++++++++++++++++++++++++++++++
> tests/meson.build | 8 ++
> 4 files changed, 228 insertions(+)
> create mode 100644 tests/i915/gem_ctx_freq.c
>
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 7d71df8c7..7fe60b78e 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -93,6 +93,7 @@ gem_create_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
> gem_create_LDADD = $(LDADD) -lpthread -latomic
> gem_close_race_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
> gem_close_race_LDADD = $(LDADD) -lpthread
> +gem_ctx_freq_LDADD = $(LDADD) $(top_builddir)/lib/libigt_perf.la
> gem_ctx_thrash_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
> gem_ctx_thrash_LDADD = $(LDADD) -lpthread
> gem_ctx_sseu_LDADD = $(LDADD) $(top_builddir)/lib/libigt_perf.la
> diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> index f2dcca6d7..d86f9c263 100644
> --- a/tests/Makefile.sources
> +++ b/tests/Makefile.sources
> @@ -152,6 +152,9 @@ gem_ctx_engines_SOURCES = i915/gem_ctx_engines.c
> TESTS_progs += gem_ctx_exec
> gem_ctx_exec_SOURCES = i915/gem_ctx_exec.c
>
> +TESTS_progs += gem_ctx_freq
> +gem_ctx_freq_SOURCES = i915/gem_ctx_freq.c
> +
> TESTS_progs += gem_ctx_isolation
> gem_ctx_isolation_SOURCES = i915/gem_ctx_isolation.c
>
> diff --git a/tests/i915/gem_ctx_freq.c b/tests/i915/gem_ctx_freq.c
> new file mode 100644
> index 000000000..bc093654a
> --- /dev/null
> +++ b/tests/i915/gem_ctx_freq.c
> @@ -0,0 +1,216 @@
> +/*
> + * Copyright © 2018 Intel Corporation
> + *
> + * Permission is hereby granted, free of charge, to any person obtaining a
> + * copy of this software and associated documentation files (the "Software"),
> + * to deal in the Software without restriction, including without limitation
> + * the rights to use, copy, modify, merge, publish, distribute, sublicense,
> + * and/or sell copies of the Software, and to permit persons to whom the
> + * Software is furnished to do so, subject to the following conditions:
> + *
> + * The above copyright notice and this permission notice (including the next
> + * paragraph) shall be included in all copies or substantial portions of the
> + * Software.
> + *
> + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
> + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
> + * IN THE SOFTWARE.
> + *
> + */
> +
> +#include <errno.h>
> +#include <fcntl.h>
> +#include <sched.h>
> +#include <stdlib.h>
> +#include <stdint.h>
> +#include <unistd.h>
> +
> +#include "igt.h"
> +#include "igt_perf.h"
> +#include "igt_sysfs.h"
> +#include "sw_sync.h"
> +
> +#define SAMPLE_PERIOD (USEC_PER_SEC / 10)
> +#define PMU_TOLERANCE 100
> +
> +static int sysfs = -1;
> +
> +static void kick_rps_worker(void)
> +{
> + sched_yield();
> + usleep(SAMPLE_PERIOD);
> +}
> +
> +static double measure_frequency(int pmu, int period_us)
> +{
> + uint64_t data[2];
> + uint64_t d_t, d_v;
> +
> + kick_rps_worker(); /* let the kthreads (intel_rps_work) run */
> +
> + igt_assert_eq(read(pmu, data, sizeof(data)), sizeof(data));
> + d_v = -data[0];
> + d_t = -data[1];
> +
> + usleep(period_us);
> +
> + igt_assert_eq(read(pmu, data, sizeof(data)), sizeof(data));
> + d_v += data[0];
> + d_t += data[1];
> +
> + return d_v * 1e9 / d_t;
> +}
> +
> +static bool __pmu_within_tolerance(double actual, double target)
> +{
> + return (actual > target - PMU_TOLERANCE &&
> + actual < target + PMU_TOLERANCE);
> +}
> +
> +static void pmu_assert(double actual, double target)
> +{
> + igt_assert_f(__pmu_within_tolerance(actual, target),
> + "Measured frequency %.2fMHz, is beyond target %.0f±%dMhz\n",
> + actual, target, PMU_TOLERANCE);
> +}
> +
> +static void busy_wait_until_idle(int i915, igt_spin_t *spin)
> +{
> + igt_spin_end(spin);
> + do {
> + usleep(10000);
> + } while (gem_bo_busy(i915, spin->handle));
> +}
> +
> +static void __igt_spin_free_idle(int i915, igt_spin_t *spin)
> +{
> + busy_wait_until_idle(i915, spin);
> +
> + igt_spin_free(i915, spin);
> +}
> +
> +#define TRIANGLE_SIZE(x) (2 * (x) + 1)
> +static void triangle_fill(uint32_t *t, unsigned int nstep,
> + uint32_t min, uint32_t max)
> +{
> + for (unsigned int step = 0; step <= 2*nstep; step++) {
> + int frac = step > nstep ? 2*nstep - step : step;
> + t[step] = min + (max - min) * frac / nstep;
> + }
> +}
> +
> +static void set_sysfs_freq(uint32_t min, uint32_t max)
> +{
> + igt_sysfs_printf(sysfs, "gt_min_freq_mhz", "%u", min);
> + igt_sysfs_printf(sysfs, "gt_max_freq_mhz", "%u", max);
> +}
> +
> +static void get_sysfs_freq(uint32_t *min, uint32_t *max)
> +{
> + igt_sysfs_scanf(sysfs, "gt_min_freq_mhz", "%u", min);
> + igt_sysfs_scanf(sysfs, "gt_max_freq_mhz", "%u", max);
> +}
> +
> +static void sysfs_range(int i915)
> +{
> +#define N_STEPS 10
> + uint32_t frequencies[TRIANGLE_SIZE(N_STEPS)];
> + uint32_t sys_min, sys_max;
> + igt_spin_t *spin;
> + double measured;
> + int pmu;
> +
> + /*
> + * The sysfs interface sets the global limits and overrides the
> + * user's request. So we can to check that if the user requests
> + * a range outside of the sysfs, the requests are only run at the
> + * constriained sysfs range.
> + */
> +
> + get_sysfs_freq(&sys_min, &sys_max);
> + igt_info("System min freq: %dMHz; max freq: %dMHz\n", sys_min, sys_max);
> +
> + triangle_fill(frequencies, N_STEPS, sys_min, sys_max);
> +
> + pmu = perf_i915_open(I915_PMU_REQUESTED_FREQUENCY);
> + igt_require(pmu >= 0);
> +
> + for (int outer = 0; outer <= 2*N_STEPS; outer++) {
> + uint32_t sys_freq = frequencies[outer];
> + uint32_t cur, discard;
> +
> + gem_quiescent_gpu(i915);
> + spin = igt_spin_new(i915);
> + usleep(10000);
> +
> + set_sysfs_freq(sys_freq, sys_freq);
> + get_sysfs_freq(&cur, &discard);
> +
> + measured = measure_frequency(pmu, SAMPLE_PERIOD);
> + igt_debugfs_dump(i915, "i915_rps_boost_info");
> +
> + set_sysfs_freq(sys_min, sys_max);
> + __igt_spin_free_idle(i915, spin);
> +
> + igt_info("sysfs: Measured %.1fMHz, expected %dMhz\n",
> + measured, cur);
> + pmu_assert(measured, cur);
> + }
> + gem_quiescent_gpu(i915);
> +
> + close(pmu);
> +
> +#undef N_STEPS
> +}
> +
> +static void restore_sysfs_freq(int sig)
> +{
> + char buf[256];
> +
> + if (igt_sysfs_read(sysfs, "gt_RPn_freq_mhz", buf, sizeof(buf)) > 0) {
> + igt_sysfs_set(sysfs, "gt_idle_freq_mhz", buf);
> + igt_sysfs_set(sysfs, "gt_min_freq_mhz", buf);
> + }
> +
> + if (igt_sysfs_read(sysfs, "gt_RP0_freq_mhz", buf, sizeof(buf)) > 0) {
> + igt_sysfs_set(sysfs, "gt_max_freq_mhz", buf);
> + igt_sysfs_set(sysfs, "gt_boost_freq_mhz", buf);
> + }
> +}
> +
> +static void disable_boost(int i915)
> +{
> + char *value;
> +
> + value = igt_sysfs_get(i915, "gt_RPn_freq_mhz");
> + igt_sysfs_set(i915, "gt_min_freq_mhz", value);
> + igt_sysfs_set(i915, "gt_boost_freq_mhz", value);
> + free(value);
> +
> + value = igt_sysfs_get(i915, "gt_RP0_freq_mhz");
> + igt_sysfs_set(i915, "gt_max_freq_mhz", value);
> + free(value);
> +}
> +
> +igt_main
> +{
> + int i915 = -1;
> +
> + igt_fixture {
> + i915 = drm_open_driver(DRIVER_INTEL);
> + igt_require_gem(i915);
> +
> + sysfs = igt_sysfs_open(i915);
> + igt_assert(sysfs != -1);
> + igt_install_exit_handler(restore_sysfs_freq);
> +
> + disable_boost(sysfs);
> + }
> +
> + igt_subtest_f("sysfs")
> + sysfs_range(i915);
> +}
> diff --git a/tests/meson.build b/tests/meson.build
> index ca2b8b62d..a909d271e 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -291,6 +291,14 @@ test_executables += executable('gem_create',
> install : true)
> test_list += 'gem_create'
>
> +test_executables += executable('gem_ctx_freq',
> + join_paths('i915', 'gem_ctx_freq.c'),
> + dependencies : test_deps + [ lib_igt_perf ],
> + install_dir : libexecdir,
> + install_rpath : libexecdir_rpathdir,
> + install : true)
> +test_list += 'gem_ctx_freq'
> +
> test_executables += executable('gem_ctx_sseu',
> join_paths('i915', 'gem_ctx_sseu.c'),
> dependencies : test_deps + [ lib_igt_perf ],
> --
> 2.24.0
>
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] igt: Add gem_ctx_freq to exercise requesting freq via sysfs
@ 2019-11-26 11:54 ` Mika Kuoppala
0 siblings, 0 replies; 11+ messages in thread
From: Mika Kuoppala @ 2019-11-26 11:54 UTC (permalink / raw)
To: Chris Wilson, intel-gfx; +Cc: igt-dev
Chris Wilson <chris@chris-wilson.co.uk> writes:
> Once propposed long ago was per-context frequency controls. As part of
> that this test suite was written, which among its tests covered the
> interaction of sysfs with the per-context controls. While we wait again
> for approval of the per-context API, we can at least leverage the sysfs
> tests to provide sorely lacking coverage of the sysfs knobs.
s/propposed/proposed.
s/its/it's
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
> ---
> tests/Makefile.am | 1 +
> tests/Makefile.sources | 3 +
> tests/i915/gem_ctx_freq.c | 216 ++++++++++++++++++++++++++++++++++++++
> tests/meson.build | 8 ++
> 4 files changed, 228 insertions(+)
> create mode 100644 tests/i915/gem_ctx_freq.c
>
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 7d71df8c7..7fe60b78e 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -93,6 +93,7 @@ gem_create_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
> gem_create_LDADD = $(LDADD) -lpthread -latomic
> gem_close_race_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
> gem_close_race_LDADD = $(LDADD) -lpthread
> +gem_ctx_freq_LDADD = $(LDADD) $(top_builddir)/lib/libigt_perf.la
> gem_ctx_thrash_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
> gem_ctx_thrash_LDADD = $(LDADD) -lpthread
> gem_ctx_sseu_LDADD = $(LDADD) $(top_builddir)/lib/libigt_perf.la
> diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> index f2dcca6d7..d86f9c263 100644
> --- a/tests/Makefile.sources
> +++ b/tests/Makefile.sources
> @@ -152,6 +152,9 @@ gem_ctx_engines_SOURCES = i915/gem_ctx_engines.c
> TESTS_progs += gem_ctx_exec
> gem_ctx_exec_SOURCES = i915/gem_ctx_exec.c
>
> +TESTS_progs += gem_ctx_freq
> +gem_ctx_freq_SOURCES = i915/gem_ctx_freq.c
> +
> TESTS_progs += gem_ctx_isolation
> gem_ctx_isolation_SOURCES = i915/gem_ctx_isolation.c
>
> diff --git a/tests/i915/gem_ctx_freq.c b/tests/i915/gem_ctx_freq.c
> new file mode 100644
> index 000000000..bc093654a
> --- /dev/null
> +++ b/tests/i915/gem_ctx_freq.c
> @@ -0,0 +1,216 @@
> +/*
> + * Copyright © 2018 Intel Corporation
> + *
> + * Permission is hereby granted, free of charge, to any person obtaining a
> + * copy of this software and associated documentation files (the "Software"),
> + * to deal in the Software without restriction, including without limitation
> + * the rights to use, copy, modify, merge, publish, distribute, sublicense,
> + * and/or sell copies of the Software, and to permit persons to whom the
> + * Software is furnished to do so, subject to the following conditions:
> + *
> + * The above copyright notice and this permission notice (including the next
> + * paragraph) shall be included in all copies or substantial portions of the
> + * Software.
> + *
> + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
> + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
> + * IN THE SOFTWARE.
> + *
> + */
> +
> +#include <errno.h>
> +#include <fcntl.h>
> +#include <sched.h>
> +#include <stdlib.h>
> +#include <stdint.h>
> +#include <unistd.h>
> +
> +#include "igt.h"
> +#include "igt_perf.h"
> +#include "igt_sysfs.h"
> +#include "sw_sync.h"
> +
> +#define SAMPLE_PERIOD (USEC_PER_SEC / 10)
> +#define PMU_TOLERANCE 100
> +
> +static int sysfs = -1;
> +
> +static void kick_rps_worker(void)
> +{
> + sched_yield();
> + usleep(SAMPLE_PERIOD);
> +}
> +
> +static double measure_frequency(int pmu, int period_us)
> +{
> + uint64_t data[2];
> + uint64_t d_t, d_v;
> +
> + kick_rps_worker(); /* let the kthreads (intel_rps_work) run */
> +
> + igt_assert_eq(read(pmu, data, sizeof(data)), sizeof(data));
> + d_v = -data[0];
> + d_t = -data[1];
> +
> + usleep(period_us);
> +
> + igt_assert_eq(read(pmu, data, sizeof(data)), sizeof(data));
> + d_v += data[0];
> + d_t += data[1];
> +
> + return d_v * 1e9 / d_t;
> +}
> +
> +static bool __pmu_within_tolerance(double actual, double target)
> +{
> + return (actual > target - PMU_TOLERANCE &&
> + actual < target + PMU_TOLERANCE);
> +}
> +
> +static void pmu_assert(double actual, double target)
> +{
> + igt_assert_f(__pmu_within_tolerance(actual, target),
> + "Measured frequency %.2fMHz, is beyond target %.0f±%dMhz\n",
> + actual, target, PMU_TOLERANCE);
> +}
> +
> +static void busy_wait_until_idle(int i915, igt_spin_t *spin)
> +{
> + igt_spin_end(spin);
> + do {
> + usleep(10000);
> + } while (gem_bo_busy(i915, spin->handle));
> +}
> +
> +static void __igt_spin_free_idle(int i915, igt_spin_t *spin)
> +{
> + busy_wait_until_idle(i915, spin);
> +
> + igt_spin_free(i915, spin);
> +}
> +
> +#define TRIANGLE_SIZE(x) (2 * (x) + 1)
> +static void triangle_fill(uint32_t *t, unsigned int nstep,
> + uint32_t min, uint32_t max)
> +{
> + for (unsigned int step = 0; step <= 2*nstep; step++) {
> + int frac = step > nstep ? 2*nstep - step : step;
> + t[step] = min + (max - min) * frac / nstep;
> + }
> +}
> +
> +static void set_sysfs_freq(uint32_t min, uint32_t max)
> +{
> + igt_sysfs_printf(sysfs, "gt_min_freq_mhz", "%u", min);
> + igt_sysfs_printf(sysfs, "gt_max_freq_mhz", "%u", max);
> +}
> +
> +static void get_sysfs_freq(uint32_t *min, uint32_t *max)
> +{
> + igt_sysfs_scanf(sysfs, "gt_min_freq_mhz", "%u", min);
> + igt_sysfs_scanf(sysfs, "gt_max_freq_mhz", "%u", max);
> +}
> +
> +static void sysfs_range(int i915)
> +{
> +#define N_STEPS 10
> + uint32_t frequencies[TRIANGLE_SIZE(N_STEPS)];
> + uint32_t sys_min, sys_max;
> + igt_spin_t *spin;
> + double measured;
> + int pmu;
> +
> + /*
> + * The sysfs interface sets the global limits and overrides the
> + * user's request. So we can to check that if the user requests
> + * a range outside of the sysfs, the requests are only run at the
> + * constriained sysfs range.
> + */
> +
> + get_sysfs_freq(&sys_min, &sys_max);
> + igt_info("System min freq: %dMHz; max freq: %dMHz\n", sys_min, sys_max);
> +
> + triangle_fill(frequencies, N_STEPS, sys_min, sys_max);
> +
> + pmu = perf_i915_open(I915_PMU_REQUESTED_FREQUENCY);
> + igt_require(pmu >= 0);
> +
> + for (int outer = 0; outer <= 2*N_STEPS; outer++) {
> + uint32_t sys_freq = frequencies[outer];
> + uint32_t cur, discard;
> +
> + gem_quiescent_gpu(i915);
> + spin = igt_spin_new(i915);
> + usleep(10000);
> +
> + set_sysfs_freq(sys_freq, sys_freq);
> + get_sysfs_freq(&cur, &discard);
> +
> + measured = measure_frequency(pmu, SAMPLE_PERIOD);
> + igt_debugfs_dump(i915, "i915_rps_boost_info");
> +
> + set_sysfs_freq(sys_min, sys_max);
> + __igt_spin_free_idle(i915, spin);
> +
> + igt_info("sysfs: Measured %.1fMHz, expected %dMhz\n",
> + measured, cur);
> + pmu_assert(measured, cur);
> + }
> + gem_quiescent_gpu(i915);
> +
> + close(pmu);
> +
> +#undef N_STEPS
> +}
> +
> +static void restore_sysfs_freq(int sig)
> +{
> + char buf[256];
> +
> + if (igt_sysfs_read(sysfs, "gt_RPn_freq_mhz", buf, sizeof(buf)) > 0) {
> + igt_sysfs_set(sysfs, "gt_idle_freq_mhz", buf);
> + igt_sysfs_set(sysfs, "gt_min_freq_mhz", buf);
> + }
> +
> + if (igt_sysfs_read(sysfs, "gt_RP0_freq_mhz", buf, sizeof(buf)) > 0) {
> + igt_sysfs_set(sysfs, "gt_max_freq_mhz", buf);
> + igt_sysfs_set(sysfs, "gt_boost_freq_mhz", buf);
> + }
> +}
> +
> +static void disable_boost(int i915)
> +{
> + char *value;
> +
> + value = igt_sysfs_get(i915, "gt_RPn_freq_mhz");
> + igt_sysfs_set(i915, "gt_min_freq_mhz", value);
> + igt_sysfs_set(i915, "gt_boost_freq_mhz", value);
> + free(value);
> +
> + value = igt_sysfs_get(i915, "gt_RP0_freq_mhz");
> + igt_sysfs_set(i915, "gt_max_freq_mhz", value);
> + free(value);
> +}
> +
> +igt_main
> +{
> + int i915 = -1;
> +
> + igt_fixture {
> + i915 = drm_open_driver(DRIVER_INTEL);
> + igt_require_gem(i915);
> +
> + sysfs = igt_sysfs_open(i915);
> + igt_assert(sysfs != -1);
> + igt_install_exit_handler(restore_sysfs_freq);
> +
> + disable_boost(sysfs);
> + }
> +
> + igt_subtest_f("sysfs")
> + sysfs_range(i915);
> +}
> diff --git a/tests/meson.build b/tests/meson.build
> index ca2b8b62d..a909d271e 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -291,6 +291,14 @@ test_executables += executable('gem_create',
> install : true)
> test_list += 'gem_create'
>
> +test_executables += executable('gem_ctx_freq',
> + join_paths('i915', 'gem_ctx_freq.c'),
> + dependencies : test_deps + [ lib_igt_perf ],
> + install_dir : libexecdir,
> + install_rpath : libexecdir_rpathdir,
> + install : true)
> +test_list += 'gem_ctx_freq'
> +
> test_executables += executable('gem_ctx_sseu',
> join_paths('i915', 'gem_ctx_sseu.c'),
> dependencies : test_deps + [ lib_igt_perf ],
> --
> 2.24.0
>
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Intel-gfx] [igt-dev] [PATCH i-g-t] igt: Add gem_ctx_freq to exercise requesting freq via sysfs
@ 2019-11-26 11:54 ` Mika Kuoppala
0 siblings, 0 replies; 11+ messages in thread
From: Mika Kuoppala @ 2019-11-26 11:54 UTC (permalink / raw)
To: Chris Wilson, intel-gfx; +Cc: igt-dev
Chris Wilson <chris@chris-wilson.co.uk> writes:
> Once propposed long ago was per-context frequency controls. As part of
> that this test suite was written, which among its tests covered the
> interaction of sysfs with the per-context controls. While we wait again
> for approval of the per-context API, we can at least leverage the sysfs
> tests to provide sorely lacking coverage of the sysfs knobs.
s/propposed/proposed.
s/its/it's
>
> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Acked-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
> ---
> tests/Makefile.am | 1 +
> tests/Makefile.sources | 3 +
> tests/i915/gem_ctx_freq.c | 216 ++++++++++++++++++++++++++++++++++++++
> tests/meson.build | 8 ++
> 4 files changed, 228 insertions(+)
> create mode 100644 tests/i915/gem_ctx_freq.c
>
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 7d71df8c7..7fe60b78e 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -93,6 +93,7 @@ gem_create_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
> gem_create_LDADD = $(LDADD) -lpthread -latomic
> gem_close_race_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
> gem_close_race_LDADD = $(LDADD) -lpthread
> +gem_ctx_freq_LDADD = $(LDADD) $(top_builddir)/lib/libigt_perf.la
> gem_ctx_thrash_CFLAGS = $(AM_CFLAGS) $(THREAD_CFLAGS)
> gem_ctx_thrash_LDADD = $(LDADD) -lpthread
> gem_ctx_sseu_LDADD = $(LDADD) $(top_builddir)/lib/libigt_perf.la
> diff --git a/tests/Makefile.sources b/tests/Makefile.sources
> index f2dcca6d7..d86f9c263 100644
> --- a/tests/Makefile.sources
> +++ b/tests/Makefile.sources
> @@ -152,6 +152,9 @@ gem_ctx_engines_SOURCES = i915/gem_ctx_engines.c
> TESTS_progs += gem_ctx_exec
> gem_ctx_exec_SOURCES = i915/gem_ctx_exec.c
>
> +TESTS_progs += gem_ctx_freq
> +gem_ctx_freq_SOURCES = i915/gem_ctx_freq.c
> +
> TESTS_progs += gem_ctx_isolation
> gem_ctx_isolation_SOURCES = i915/gem_ctx_isolation.c
>
> diff --git a/tests/i915/gem_ctx_freq.c b/tests/i915/gem_ctx_freq.c
> new file mode 100644
> index 000000000..bc093654a
> --- /dev/null
> +++ b/tests/i915/gem_ctx_freq.c
> @@ -0,0 +1,216 @@
> +/*
> + * Copyright © 2018 Intel Corporation
> + *
> + * Permission is hereby granted, free of charge, to any person obtaining a
> + * copy of this software and associated documentation files (the "Software"),
> + * to deal in the Software without restriction, including without limitation
> + * the rights to use, copy, modify, merge, publish, distribute, sublicense,
> + * and/or sell copies of the Software, and to permit persons to whom the
> + * Software is furnished to do so, subject to the following conditions:
> + *
> + * The above copyright notice and this permission notice (including the next
> + * paragraph) shall be included in all copies or substantial portions of the
> + * Software.
> + *
> + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
> + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
> + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
> + * IN THE SOFTWARE.
> + *
> + */
> +
> +#include <errno.h>
> +#include <fcntl.h>
> +#include <sched.h>
> +#include <stdlib.h>
> +#include <stdint.h>
> +#include <unistd.h>
> +
> +#include "igt.h"
> +#include "igt_perf.h"
> +#include "igt_sysfs.h"
> +#include "sw_sync.h"
> +
> +#define SAMPLE_PERIOD (USEC_PER_SEC / 10)
> +#define PMU_TOLERANCE 100
> +
> +static int sysfs = -1;
> +
> +static void kick_rps_worker(void)
> +{
> + sched_yield();
> + usleep(SAMPLE_PERIOD);
> +}
> +
> +static double measure_frequency(int pmu, int period_us)
> +{
> + uint64_t data[2];
> + uint64_t d_t, d_v;
> +
> + kick_rps_worker(); /* let the kthreads (intel_rps_work) run */
> +
> + igt_assert_eq(read(pmu, data, sizeof(data)), sizeof(data));
> + d_v = -data[0];
> + d_t = -data[1];
> +
> + usleep(period_us);
> +
> + igt_assert_eq(read(pmu, data, sizeof(data)), sizeof(data));
> + d_v += data[0];
> + d_t += data[1];
> +
> + return d_v * 1e9 / d_t;
> +}
> +
> +static bool __pmu_within_tolerance(double actual, double target)
> +{
> + return (actual > target - PMU_TOLERANCE &&
> + actual < target + PMU_TOLERANCE);
> +}
> +
> +static void pmu_assert(double actual, double target)
> +{
> + igt_assert_f(__pmu_within_tolerance(actual, target),
> + "Measured frequency %.2fMHz, is beyond target %.0f±%dMhz\n",
> + actual, target, PMU_TOLERANCE);
> +}
> +
> +static void busy_wait_until_idle(int i915, igt_spin_t *spin)
> +{
> + igt_spin_end(spin);
> + do {
> + usleep(10000);
> + } while (gem_bo_busy(i915, spin->handle));
> +}
> +
> +static void __igt_spin_free_idle(int i915, igt_spin_t *spin)
> +{
> + busy_wait_until_idle(i915, spin);
> +
> + igt_spin_free(i915, spin);
> +}
> +
> +#define TRIANGLE_SIZE(x) (2 * (x) + 1)
> +static void triangle_fill(uint32_t *t, unsigned int nstep,
> + uint32_t min, uint32_t max)
> +{
> + for (unsigned int step = 0; step <= 2*nstep; step++) {
> + int frac = step > nstep ? 2*nstep - step : step;
> + t[step] = min + (max - min) * frac / nstep;
> + }
> +}
> +
> +static void set_sysfs_freq(uint32_t min, uint32_t max)
> +{
> + igt_sysfs_printf(sysfs, "gt_min_freq_mhz", "%u", min);
> + igt_sysfs_printf(sysfs, "gt_max_freq_mhz", "%u", max);
> +}
> +
> +static void get_sysfs_freq(uint32_t *min, uint32_t *max)
> +{
> + igt_sysfs_scanf(sysfs, "gt_min_freq_mhz", "%u", min);
> + igt_sysfs_scanf(sysfs, "gt_max_freq_mhz", "%u", max);
> +}
> +
> +static void sysfs_range(int i915)
> +{
> +#define N_STEPS 10
> + uint32_t frequencies[TRIANGLE_SIZE(N_STEPS)];
> + uint32_t sys_min, sys_max;
> + igt_spin_t *spin;
> + double measured;
> + int pmu;
> +
> + /*
> + * The sysfs interface sets the global limits and overrides the
> + * user's request. So we can to check that if the user requests
> + * a range outside of the sysfs, the requests are only run at the
> + * constriained sysfs range.
> + */
> +
> + get_sysfs_freq(&sys_min, &sys_max);
> + igt_info("System min freq: %dMHz; max freq: %dMHz\n", sys_min, sys_max);
> +
> + triangle_fill(frequencies, N_STEPS, sys_min, sys_max);
> +
> + pmu = perf_i915_open(I915_PMU_REQUESTED_FREQUENCY);
> + igt_require(pmu >= 0);
> +
> + for (int outer = 0; outer <= 2*N_STEPS; outer++) {
> + uint32_t sys_freq = frequencies[outer];
> + uint32_t cur, discard;
> +
> + gem_quiescent_gpu(i915);
> + spin = igt_spin_new(i915);
> + usleep(10000);
> +
> + set_sysfs_freq(sys_freq, sys_freq);
> + get_sysfs_freq(&cur, &discard);
> +
> + measured = measure_frequency(pmu, SAMPLE_PERIOD);
> + igt_debugfs_dump(i915, "i915_rps_boost_info");
> +
> + set_sysfs_freq(sys_min, sys_max);
> + __igt_spin_free_idle(i915, spin);
> +
> + igt_info("sysfs: Measured %.1fMHz, expected %dMhz\n",
> + measured, cur);
> + pmu_assert(measured, cur);
> + }
> + gem_quiescent_gpu(i915);
> +
> + close(pmu);
> +
> +#undef N_STEPS
> +}
> +
> +static void restore_sysfs_freq(int sig)
> +{
> + char buf[256];
> +
> + if (igt_sysfs_read(sysfs, "gt_RPn_freq_mhz", buf, sizeof(buf)) > 0) {
> + igt_sysfs_set(sysfs, "gt_idle_freq_mhz", buf);
> + igt_sysfs_set(sysfs, "gt_min_freq_mhz", buf);
> + }
> +
> + if (igt_sysfs_read(sysfs, "gt_RP0_freq_mhz", buf, sizeof(buf)) > 0) {
> + igt_sysfs_set(sysfs, "gt_max_freq_mhz", buf);
> + igt_sysfs_set(sysfs, "gt_boost_freq_mhz", buf);
> + }
> +}
> +
> +static void disable_boost(int i915)
> +{
> + char *value;
> +
> + value = igt_sysfs_get(i915, "gt_RPn_freq_mhz");
> + igt_sysfs_set(i915, "gt_min_freq_mhz", value);
> + igt_sysfs_set(i915, "gt_boost_freq_mhz", value);
> + free(value);
> +
> + value = igt_sysfs_get(i915, "gt_RP0_freq_mhz");
> + igt_sysfs_set(i915, "gt_max_freq_mhz", value);
> + free(value);
> +}
> +
> +igt_main
> +{
> + int i915 = -1;
> +
> + igt_fixture {
> + i915 = drm_open_driver(DRIVER_INTEL);
> + igt_require_gem(i915);
> +
> + sysfs = igt_sysfs_open(i915);
> + igt_assert(sysfs != -1);
> + igt_install_exit_handler(restore_sysfs_freq);
> +
> + disable_boost(sysfs);
> + }
> +
> + igt_subtest_f("sysfs")
> + sysfs_range(i915);
> +}
> diff --git a/tests/meson.build b/tests/meson.build
> index ca2b8b62d..a909d271e 100644
> --- a/tests/meson.build
> +++ b/tests/meson.build
> @@ -291,6 +291,14 @@ test_executables += executable('gem_create',
> install : true)
> test_list += 'gem_create'
>
> +test_executables += executable('gem_ctx_freq',
> + join_paths('i915', 'gem_ctx_freq.c'),
> + dependencies : test_deps + [ lib_igt_perf ],
> + install_dir : libexecdir,
> + install_rpath : libexecdir_rpathdir,
> + install : true)
> +test_list += 'gem_ctx_freq'
> +
> test_executables += executable('gem_ctx_sseu',
> join_paths('i915', 'gem_ctx_sseu.c'),
> dependencies : test_deps + [ lib_igt_perf ],
> --
> 2.24.0
>
> _______________________________________________
> igt-dev mailing list
> igt-dev@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/igt-dev
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] igt: Add gem_ctx_freq to exercise requesting freq via sysfs
2019-11-26 11:54 ` Mika Kuoppala
(?)
@ 2019-11-26 11:58 ` Chris Wilson
-1 siblings, 0 replies; 11+ messages in thread
From: Chris Wilson @ 2019-11-26 11:58 UTC (permalink / raw)
To: Mika Kuoppala, intel-gfx; +Cc: igt-dev
Quoting Mika Kuoppala (2019-11-26 11:54:39)
> Chris Wilson <chris@chris-wilson.co.uk> writes:
>
> > Once propposed long ago was per-context frequency controls. As part of
> > that this test suite was written, which among its tests covered the
> > interaction of sysfs with the per-context controls. While we wait again
> > for approval of the per-context API, we can at least leverage the sysfs
> > tests to provide sorely lacking coverage of the sysfs knobs.
>
> s/propposed/proposed.
> s/its/it's
For once, it's its.
English is odd:
it's: contraction of it is
its: possessive, normally implied by the apostrophe.
-Chris
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] igt: Add gem_ctx_freq to exercise requesting freq via sysfs
@ 2019-11-26 11:58 ` Chris Wilson
0 siblings, 0 replies; 11+ messages in thread
From: Chris Wilson @ 2019-11-26 11:58 UTC (permalink / raw)
To: Mika Kuoppala, intel-gfx; +Cc: igt-dev
Quoting Mika Kuoppala (2019-11-26 11:54:39)
> Chris Wilson <chris@chris-wilson.co.uk> writes:
>
> > Once propposed long ago was per-context frequency controls. As part of
> > that this test suite was written, which among its tests covered the
> > interaction of sysfs with the per-context controls. While we wait again
> > for approval of the per-context API, we can at least leverage the sysfs
> > tests to provide sorely lacking coverage of the sysfs knobs.
>
> s/propposed/proposed.
> s/its/it's
For once, it's its.
English is odd:
it's: contraction of it is
its: possessive, normally implied by the apostrophe.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Intel-gfx] [igt-dev] [PATCH i-g-t] igt: Add gem_ctx_freq to exercise requesting freq via sysfs
@ 2019-11-26 11:58 ` Chris Wilson
0 siblings, 0 replies; 11+ messages in thread
From: Chris Wilson @ 2019-11-26 11:58 UTC (permalink / raw)
To: Mika Kuoppala, intel-gfx; +Cc: igt-dev
Quoting Mika Kuoppala (2019-11-26 11:54:39)
> Chris Wilson <chris@chris-wilson.co.uk> writes:
>
> > Once propposed long ago was per-context frequency controls. As part of
> > that this test suite was written, which among its tests covered the
> > interaction of sysfs with the per-context controls. While we wait again
> > for approval of the per-context API, we can at least leverage the sysfs
> > tests to provide sorely lacking coverage of the sysfs knobs.
>
> s/propposed/proposed.
> s/its/it's
For once, it's its.
English is odd:
it's: contraction of it is
its: possessive, normally implied by the apostrophe.
-Chris
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 11+ messages in thread
* [igt-dev] ✗ GitLab.Pipeline: failure for igt: Add gem_ctx_freq to exercise requesting freq via sysfs
2019-11-26 11:38 ` Chris Wilson
(?)
(?)
@ 2019-11-26 13:36 ` Patchwork
-1 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2019-11-26 13:36 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: igt: Add gem_ctx_freq to exercise requesting freq via sysfs
URL : https://patchwork.freedesktop.org/series/70031/
State : failure
== Summary ==
ERROR! This series introduces new undocumented tests:
gem_ctx_freq
gem_ctx_freq@sysfs
Can you document them as per the requirement in the [CONTRIBUTING.md]?
[Documentation] has more details on how to do this.
Here are few examples:
https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/0316695d03aa46108296b27f3982ec93200c7a6e
https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/443cc658e1e6b492ee17bf4f4d891029eb7a205d
Thanks in advance!
[CONTRIBUTING.md]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/blob/master/CONTRIBUTING.md#L19
[Documentation]: https://drm.pages.freedesktop.org/igt-gpu-tools/igt-gpu-tools-Core.html#igt-describe
Other than that, pipeline status: SUCCESS.
see https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/82820 for the overview.
== Logs ==
For more details see: https://gitlab.freedesktop.org/gfx-ci/igt-ci-tags/pipelines/82820
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 11+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for igt: Add gem_ctx_freq to exercise requesting freq via sysfs
2019-11-26 11:38 ` Chris Wilson
` (2 preceding siblings ...)
(?)
@ 2019-11-26 13:54 ` Patchwork
-1 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2019-11-26 13:54 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: igt: Add gem_ctx_freq to exercise requesting freq via sysfs
URL : https://patchwork.freedesktop.org/series/70031/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7424 -> IGTPW_3756
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/index.html
Known issues
------------
Here are the changes found in IGTPW_3756 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_module_load@reload-with-fault-injection:
- fi-icl-u3: [PASS][1] -> [INCOMPLETE][2] ([fdo#107713])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/fi-icl-u3/igt@i915_module_load@reload-with-fault-injection.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/fi-icl-u3/igt@i915_module_load@reload-with-fault-injection.html
* igt@i915_selftest@live_blt:
- fi-bsw-n3050: [PASS][3] -> [DMESG-FAIL][4] ([fdo#112176])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/fi-bsw-n3050/igt@i915_selftest@live_blt.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/fi-bsw-n3050/igt@i915_selftest@live_blt.html
- fi-hsw-peppy: [PASS][5] -> [DMESG-FAIL][6] ([fdo#112147])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/fi-hsw-peppy/igt@i915_selftest@live_blt.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/fi-hsw-peppy/igt@i915_selftest@live_blt.html
* igt@i915_selftest@live_gem_contexts:
- fi-skl-lmem: [PASS][7] -> [INCOMPLETE][8] ([fdo#111700])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/fi-skl-lmem/igt@i915_selftest@live_gem_contexts.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/fi-skl-lmem/igt@i915_selftest@live_gem_contexts.html
#### Possible fixes ####
* igt@i915_selftest@live_gem_contexts:
- fi-cfl-8700k: [INCOMPLETE][9] ([fdo#111700]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/fi-cfl-8700k/igt@i915_selftest@live_gem_contexts.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/fi-cfl-8700k/igt@i915_selftest@live_gem_contexts.html
* igt@kms_chamelium@dp-crc-fast:
- fi-icl-u2: [FAIL][11] ([fdo#109635 ] / [fdo#110387]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/fi-icl-u2/igt@kms_chamelium@dp-crc-fast.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/fi-icl-u2/igt@kms_chamelium@dp-crc-fast.html
#### Warnings ####
* igt@gem_exec_suspend@basic-s0:
- fi-kbl-x1275: [DMESG-WARN][13] ([fdo#103558] / [fdo#105602]) -> [DMESG-WARN][14] ([fdo#103558] / [fdo#105602] / [fdo#105763]) +3 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/fi-kbl-x1275/igt@gem_exec_suspend@basic-s0.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/fi-kbl-x1275/igt@gem_exec_suspend@basic-s0.html
* igt@kms_cursor_legacy@basic-flip-after-cursor-legacy:
- fi-kbl-x1275: [DMESG-WARN][15] ([fdo#103558] / [fdo#105602] / [fdo#105763]) -> [DMESG-WARN][16] ([fdo#103558] / [fdo#105602]) +5 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/fi-kbl-x1275/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/fi-kbl-x1275/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html
[fdo#103558]: https://bugs.freedesktop.org/show_bug.cgi?id=103558
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#105763]: https://bugs.freedesktop.org/show_bug.cgi?id=105763
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#109635 ]: https://bugs.freedesktop.org/show_bug.cgi?id=109635
[fdo#110387]: https://bugs.freedesktop.org/show_bug.cgi?id=110387
[fdo#111700]: https://bugs.freedesktop.org/show_bug.cgi?id=111700
[fdo#112147]: https://bugs.freedesktop.org/show_bug.cgi?id=112147
[fdo#112176]: https://bugs.freedesktop.org/show_bug.cgi?id=112176
Participating hosts (51 -> 45)
------------------------------
Missing (6): fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5309 -> IGTPW_3756
CI-20190529: 20190529
CI_DRM_7424: e0eb57163d002cbc032919442db9029421e4318e @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3756: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/index.html
IGT_5309: f06d36dc6ba3e60088000f81dc4ab4754cd639ad @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Testlist changes ==
+igt@gem_ctx_freq@sysfs
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 11+ messages in thread
* [igt-dev] ✗ Fi.CI.IGT: failure for igt: Add gem_ctx_freq to exercise requesting freq via sysfs
2019-11-26 11:38 ` Chris Wilson
` (3 preceding siblings ...)
(?)
@ 2019-11-26 23:29 ` Patchwork
-1 siblings, 0 replies; 11+ messages in thread
From: Patchwork @ 2019-11-26 23:29 UTC (permalink / raw)
To: Chris Wilson; +Cc: igt-dev
== Series Details ==
Series: igt: Add gem_ctx_freq to exercise requesting freq via sysfs
URL : https://patchwork.freedesktop.org/series/70031/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_7424_full -> IGTPW_3756_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_3756_full absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_3756_full, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_3756_full:
### IGT changes ###
#### Possible regressions ####
* igt@gem_ctx_persistence@bcs0-hostile-preempt:
- shard-iclb: NOTRUN -> [FAIL][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-iclb6/igt@gem_ctx_persistence@bcs0-hostile-preempt.html
* igt@gem_ctx_persistence@smoketest:
- shard-glk: [PASS][2] -> [TIMEOUT][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-glk1/igt@gem_ctx_persistence@smoketest.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-glk4/igt@gem_ctx_persistence@smoketest.html
* igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-mmap-cpu:
- shard-tglb: NOTRUN -> [INCOMPLETE][4]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-tglb5/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-mmap-cpu.html
* igt@perf@enable-disable:
- shard-iclb: [PASS][5] -> [TIMEOUT][6]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-iclb5/igt@perf@enable-disable.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-iclb2/igt@perf@enable-disable.html
New tests
---------
New tests have been introduced between CI_DRM_7424_full and IGTPW_3756_full:
### New IGT tests (1) ###
* igt@gem_ctx_freq@sysfs:
- Statuses : 5 pass(s)
- Exec time: [4.80, 4.95] s
Known issues
------------
Here are the changes found in IGTPW_3756_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_capture@capture-bsd1:
- shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#109276]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-iclb2/igt@gem_exec_capture@capture-bsd1.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-iclb6/igt@gem_exec_capture@capture-bsd1.html
* igt@gem_exec_reuse@single:
- shard-tglb: [PASS][9] -> [INCOMPLETE][10] ([fdo#111747])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-tglb8/igt@gem_exec_reuse@single.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-tglb6/igt@gem_exec_reuse@single.html
* igt@gem_ppgtt@flink-and-close-vma-leak:
- shard-apl: [PASS][11] -> [FAIL][12] ([fdo#112392])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-apl2/igt@gem_ppgtt@flink-and-close-vma-leak.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-apl2/igt@gem_ppgtt@flink-and-close-vma-leak.html
* igt@gem_userptr_blits@map-fixed-invalidate-busy:
- shard-snb: [PASS][13] -> [DMESG-WARN][14] ([fdo#111870]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-snb2/igt@gem_userptr_blits@map-fixed-invalidate-busy.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-snb7/igt@gem_userptr_blits@map-fixed-invalidate-busy.html
* igt@gem_userptr_blits@sync-unmap:
- shard-hsw: [PASS][15] -> [DMESG-WARN][16] ([fdo#111870])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-hsw4/igt@gem_userptr_blits@sync-unmap.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-hsw5/igt@gem_userptr_blits@sync-unmap.html
* igt@i915_pm_rc6_residency@rc6-accuracy:
- shard-snb: [PASS][17] -> [SKIP][18] ([fdo#109271])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-snb6/igt@i915_pm_rc6_residency@rc6-accuracy.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-snb4/igt@i915_pm_rc6_residency@rc6-accuracy.html
* igt@kms_cursor_crc@pipe-b-cursor-128x42-sliding:
- shard-kbl: [PASS][19] -> [FAIL][20] ([fdo#103232])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-kbl2/igt@kms_cursor_crc@pipe-b-cursor-128x42-sliding.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-kbl1/igt@kms_cursor_crc@pipe-b-cursor-128x42-sliding.html
- shard-apl: [PASS][21] -> [FAIL][22] ([fdo#103232])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-apl2/igt@kms_cursor_crc@pipe-b-cursor-128x42-sliding.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-apl3/igt@kms_cursor_crc@pipe-b-cursor-128x42-sliding.html
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-apl: [PASS][23] -> [DMESG-WARN][24] ([fdo#108566]) +4 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-apl3/igt@kms_cursor_crc@pipe-c-cursor-suspend.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-apl1/igt@kms_cursor_crc@pipe-c-cursor-suspend.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-blt:
- shard-iclb: [PASS][25] -> [FAIL][26] ([fdo#103167])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-iclb5/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-blt.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-iclb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite:
- shard-tglb: [PASS][27] -> [FAIL][28] ([fdo#103167])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-tglb3/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-tglb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-indfb-draw-pwrite.html
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- shard-kbl: [PASS][29] -> [DMESG-WARN][30] ([fdo#108566]) +6 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-kbl1/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-kbl3/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
* igt@kms_psr@psr2_cursor_plane_move:
- shard-iclb: [PASS][31] -> [SKIP][32] ([fdo#109441]) +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-iclb2/igt@kms_psr@psr2_cursor_plane_move.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-iclb6/igt@kms_psr@psr2_cursor_plane_move.html
* igt@kms_setmode@basic:
- shard-kbl: [PASS][33] -> [FAIL][34] ([fdo#99912])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-kbl7/igt@kms_setmode@basic.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-kbl2/igt@kms_setmode@basic.html
* igt@perf_pmu@busy-start-vcs1:
- shard-iclb: [PASS][35] -> [SKIP][36] ([fdo#112080]) +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-iclb2/igt@perf_pmu@busy-start-vcs1.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-iclb6/igt@perf_pmu@busy-start-vcs1.html
#### Possible fixes ####
* igt@gem_ctx_isolation@vcs0-s3:
- shard-glk: [INCOMPLETE][37] ([fdo#103359] / [k.org#198133]) -> [PASS][38] +1 similar issue
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-glk1/igt@gem_ctx_isolation@vcs0-s3.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-glk5/igt@gem_ctx_isolation@vcs0-s3.html
* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [SKIP][39] ([fdo#110841]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-iclb2/igt@gem_ctx_shared@exec-single-timeline-bsd.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-iclb6/igt@gem_ctx_shared@exec-single-timeline-bsd.html
* igt@gem_exec_schedule@in-order-bsd1:
- shard-iclb: [SKIP][41] ([fdo#109276]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-iclb5/igt@gem_exec_schedule@in-order-bsd1.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-iclb2/igt@gem_exec_schedule@in-order-bsd1.html
* igt@gem_persistent_relocs@forked-faulting-reloc-thrash-inactive:
- shard-kbl: [TIMEOUT][43] ([fdo#112068 ]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-kbl6/igt@gem_persistent_relocs@forked-faulting-reloc-thrash-inactive.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-kbl4/igt@gem_persistent_relocs@forked-faulting-reloc-thrash-inactive.html
* igt@gem_softpin@noreloc-s3:
- shard-apl: [DMESG-WARN][45] ([fdo#108566]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-apl1/igt@gem_softpin@noreloc-s3.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-apl3/igt@gem_softpin@noreloc-s3.html
* igt@gem_userptr_blits@map-fixed-invalidate-busy-gup:
- shard-hsw: [DMESG-WARN][47] ([fdo#111870]) -> [PASS][48] +4 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-hsw6/igt@gem_userptr_blits@map-fixed-invalidate-busy-gup.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-hsw7/igt@gem_userptr_blits@map-fixed-invalidate-busy-gup.html
* igt@gem_userptr_blits@sync-unmap-cycles:
- shard-snb: [DMESG-WARN][49] ([fdo#111870]) -> [PASS][50] +2 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-snb4/igt@gem_userptr_blits@sync-unmap-cycles.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-snb4/igt@gem_userptr_blits@sync-unmap-cycles.html
* igt@kms_frontbuffer_tracking@basic:
- shard-tglb: [FAIL][51] ([fdo# 112163] / [fdo#103167]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-tglb2/igt@kms_frontbuffer_tracking@basic.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-tglb5/igt@kms_frontbuffer_tracking@basic.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-msflip-blt:
- shard-glk: [FAIL][53] ([fdo#103167]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-glk1/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-msflip-blt.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-glk7/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-msflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-blt:
- shard-iclb: [FAIL][55] ([fdo#103167]) -> [PASS][56]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-iclb5/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-blt.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-iclb3/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-move:
- shard-tglb: [FAIL][57] ([fdo#103167]) -> [PASS][58]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-tglb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-move.html
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-tglb2/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-spr-indfb-move.html
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c:
- shard-kbl: [DMESG-WARN][59] ([fdo#103313]) -> [PASS][60]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-kbl6/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-kbl4/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-c.html
* igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes:
- shard-tglb: [INCOMPLETE][61] ([fdo#111832] / [fdo#111850]) -> [PASS][62] +2 similar issues
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-tglb3/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-tglb6/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html
- shard-kbl: [DMESG-WARN][63] ([fdo#108566]) -> [PASS][64] +1 similar issue
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-kbl2/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-kbl2/igt@kms_plane@plane-panning-bottom-right-suspend-pipe-a-planes.html
* igt@perf@oa-exponents:
- shard-kbl: [TIMEOUT][65] ([fdo#111732 ]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-kbl7/igt@perf@oa-exponents.html
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-kbl3/igt@perf@oa-exponents.html
* igt@perf_pmu@busy-accuracy-98-vcs1:
- shard-iclb: [SKIP][67] ([fdo#112080]) -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-iclb5/igt@perf_pmu@busy-accuracy-98-vcs1.html
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-iclb2/igt@perf_pmu@busy-accuracy-98-vcs1.html
#### Warnings ####
* igt@gem_ctx_isolation@vcs1-nonpriv-switch:
- shard-iclb: [FAIL][69] ([fdo#111329]) -> [SKIP][70] ([fdo#109276] / [fdo#112080])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-iclb2/igt@gem_ctx_isolation@vcs1-nonpriv-switch.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-iclb6/igt@gem_ctx_isolation@vcs1-nonpriv-switch.html
* igt@gem_eio@kms:
- shard-snb: [INCOMPLETE][71] ([fdo#105411]) -> [FAIL][72] ([fdo#111757])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-snb6/igt@gem_eio@kms.html
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-snb5/igt@gem_eio@kms.html
* igt@gem_userptr_blits@dmabuf-unsync:
- shard-snb: [DMESG-WARN][73] ([fdo#111870]) -> [DMESG-WARN][74] ([fdo#110789] / [fdo#111870])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7424/shard-snb5/igt@gem_userptr_blits@dmabuf-unsync.html
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/shard-snb6/igt@gem_userptr_blits@dmabuf-unsync.html
[fdo# 112163]: https://bugs.freedesktop.org/show_bug.cgi?id= 112163
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103232]: https://bugs.freedesktop.org/show_bug.cgi?id=103232
[fdo#103313]: https://bugs.freedesktop.org/show_bug.cgi?id=103313
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#110789]: https://bugs.freedesktop.org/show_bug.cgi?id=110789
[fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
[fdo#111329]: https://bugs.freedesktop.org/show_bug.cgi?id=111329
[fdo#111732 ]: https://bugs.freedesktop.org/show_bug.cgi?id=111732
[fdo#111747]: https://bugs.freedesktop.org/show_bug.cgi?id=111747
[fdo#111757]: https://bugs.freedesktop.org/show_bug.cgi?id=111757
[fdo#111832]: https://bugs.freedesktop.org/show_bug.cgi?id=111832
[fdo#111850]: https://bugs.freedesktop.org/show_bug.cgi?id=111850
[fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
[fdo#112068 ]: https://bugs.freedesktop.org/show_bug.cgi?id=112068
[fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
[fdo#112392]: https://bugs.freedesktop.org/show_bug.cgi?id=112392
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
Participating hosts (11 -> 8)
------------------------------
Missing (3): pig-skl-6260u pig-glk-j5005 pig-hsw-4770r
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5309 -> IGTPW_3756
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_7424: e0eb57163d002cbc032919442db9029421e4318e @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_3756: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/index.html
IGT_5309: f06d36dc6ba3e60088000f81dc4ab4754cd639ad @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_3756/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2019-11-26 23:29 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-26 11:38 [Intel-gfx] [PATCH i-g-t] igt: Add gem_ctx_freq to exercise requesting freq via sysfs Chris Wilson
2019-11-26 11:38 ` Chris Wilson
2019-11-26 11:54 ` [igt-dev] " Mika Kuoppala
2019-11-26 11:54 ` [Intel-gfx] " Mika Kuoppala
2019-11-26 11:54 ` Mika Kuoppala
2019-11-26 11:58 ` Chris Wilson
2019-11-26 11:58 ` [Intel-gfx] " Chris Wilson
2019-11-26 11:58 ` Chris Wilson
2019-11-26 13:36 ` [igt-dev] ✗ GitLab.Pipeline: failure for " Patchwork
2019-11-26 13:54 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2019-11-26 23:29 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.