* [igt-dev] [PATCH] i915/perf: Sanity check reports in mapped OA buffer
@ 2020-07-14 7:13 Umesh Nerlige Ramappa
2020-07-14 7:48 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-07-14 8:51 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
0 siblings, 2 replies; 4+ messages in thread
From: Umesh Nerlige Ramappa @ 2020-07-14 7:13 UTC (permalink / raw)
To: Lionel G Landwerlin, igt-dev
For applications that need a faster way to access reports in the OA
buffer, i915 now provides a way to map the OA buffer to privileged user
space. Add a test to sanity check reports in the mapped OA buffer.
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
---
include/drm-uapi/i915_drm.h | 19 +++++++
tests/i915/perf.c | 100 ++++++++++++++++++++++++++++++++++++
2 files changed, 119 insertions(+)
diff --git a/include/drm-uapi/i915_drm.h b/include/drm-uapi/i915_drm.h
index 2b55af13..d03ee5dd 100644
--- a/include/drm-uapi/i915_drm.h
+++ b/include/drm-uapi/i915_drm.h
@@ -2048,6 +2048,25 @@ struct drm_i915_perf_open_param {
*/
#define I915_PERF_IOCTL_CONFIG _IO('i', 0x2)
+/**
+ * Returns OA buffer properties.
+ *
+ * This ioctl is available in perf revision 6.
+ */
+#define I915_PERF_IOCTL_GET_OA_BUFFER_INFO _IO('i', 0x3)
+
+/**
+ * OA buffer information structure.
+ */
+struct drm_i915_perf_oa_buffer_info {
+ __u32 size;
+ __u32 head;
+ __u32 tail;
+ __u32 gpu_address;
+ __u64 cpu_address;
+ __u64 reserved[4];
+};
+
/**
* Common to all i915 perf records
*/
diff --git a/tests/i915/perf.c b/tests/i915/perf.c
index 92edc9f1..194569e1 100644
--- a/tests/i915/perf.c
+++ b/tests/i915/perf.c
@@ -204,6 +204,7 @@ static struct intel_perf *intel_perf = NULL;
static struct intel_perf_metric_set *test_set = NULL;
static bool *undefined_a_counters;
static uint64_t oa_exp_1_millisec;
+struct intel_mmio_data mmio_data;
static igt_render_copyfunc_t render_copy = NULL;
static uint32_t (*read_report_ticks)(uint32_t *report,
@@ -4768,6 +4769,95 @@ test_whitelisted_registers_userspace_config(void)
i915_perf_remove_config(drm_fd, config_id);
}
+#define OA_BUFFER_DATA(tail, head, oa_buffer_size) \
+ (((tail) - (head)) & ((oa_buffer_size) - 1))
+
+static void dump_oa_buffer_info(struct drm_i915_perf_oa_buffer_info *oa_buffer)
+{
+ igt_debug("size = %d\n", oa_buffer->size);
+ igt_debug("head = %x\n", oa_buffer->head);
+ igt_debug("tail = %x\n", oa_buffer->tail);
+ igt_debug("gpu_address = %x\n", oa_buffer->gpu_address);
+ igt_debug("cpu_address = %llx\n", oa_buffer->cpu_address);
+}
+
+static uint32_t oa_status_reg(void)
+{
+ if (IS_HASWELL(devid))
+ return intel_register_read(&mmio_data, 0x2346) & 0x7;
+ else if (IS_GEN12(devid))
+ return intel_register_read(&mmio_data, 0xdafc) & 0x7;
+ else
+ return intel_register_read(&mmio_data, 0x2b08) & 0xf;
+}
+
+static void check_reports_from_mapped_buffer(enum drm_i915_oa_format fmt,
+ int oa_exponent)
+{
+ struct drm_i915_perf_oa_buffer_info oa_buffer;
+ struct oa_format format = get_oa_format(fmt);
+ size_t report_size = format.size;
+ uint8_t *reports;
+ uint32_t *report0, *report1;
+ uint32_t offset, num_reports, timer_reports = 0;
+ uint32_t period_us = oa_exponent_to_ns(oa_exponent) / 1000;
+ int i;
+
+ /* wait for approx 100 reports */
+ usleep(100 * period_us);
+ do_ioctl(stream_fd, I915_PERF_IOCTL_GET_OA_BUFFER_INFO, &oa_buffer);
+ dump_oa_buffer_info(&oa_buffer);
+
+ igt_assert_eq(oa_buffer.size & (oa_buffer.size - 1), 0);
+ igt_assert_neq(oa_buffer.head, 0);
+ igt_assert_neq(oa_buffer.tail, 0);
+ igt_assert_neq(oa_buffer.gpu_address, 0);
+ igt_assert_neq(oa_buffer.cpu_address, 0);
+
+ igt_assert_eq(oa_status_reg(), 0);
+
+ offset = oa_buffer.head - oa_buffer.gpu_address;
+ reports = (uint8_t *) (oa_buffer.cpu_address + offset);
+
+ num_reports = OA_BUFFER_DATA(oa_buffer.tail,
+ oa_buffer.head,
+ oa_buffer.size) / report_size;
+
+ for (i = 0; i < num_reports; i++) {
+ report1 = (uint32_t *)(reports + (i * report_size));
+ if (!oa_report_is_periodic(oa_exponent, report1))
+ continue;
+
+ timer_reports++;
+ if (timer_reports >= 2)
+ sanity_check_reports(report0, report1, fmt);
+
+ report0 = report1;
+ }
+}
+
+static void test_mapped_oa_buffer(void)
+{
+ int oa_exponent = max_oa_exponent_for_period_lte(1000000);
+ enum drm_i915_oa_format fmt = test_set->perf_oa_format;
+ uint64_t properties[] = {
+ DRM_I915_PERF_PROP_SAMPLE_OA, true,
+ DRM_I915_PERF_PROP_OA_METRICS_SET, test_set->perf_oa_metrics_set,
+ DRM_I915_PERF_PROP_OA_FORMAT, fmt,
+ DRM_I915_PERF_PROP_OA_EXPONENT, oa_exponent,
+
+ };
+ struct drm_i915_perf_open_param param = {
+ .flags = I915_PERF_FLAG_FD_CLOEXEC,
+ .num_properties = sizeof(properties) / 16,
+ .properties_ptr = to_user_pointer(properties),
+ };
+
+ stream_fd = __perf_open(drm_fd, ¶m, false);
+ check_reports_from_mapped_buffer(fmt, oa_exponent);
+ __perf_close(stream_fd);
+}
+
static unsigned
read_i915_module_ref(void)
{
@@ -4936,6 +5026,9 @@ igt_main
render_copy = igt_get_render_copyfunc(devid);
igt_require_f(render_copy, "no render-copy function\n");
+
+ intel_register_access_init(&mmio_data, intel_get_pci_device(),
+ 0, drm_fd);
}
igt_subtest("non-system-wide-paranoid")
@@ -5096,6 +5189,12 @@ igt_main
igt_subtest("whitelisted-registers-userspace-config")
test_whitelisted_registers_userspace_config();
+ igt_describe("Verify mapping of oa buffer to umd");
+ igt_subtest("mapped-oa-buffer") {
+ igt_require(i915_perf_revision(drm_fd) >= 6);
+ test_mapped_oa_buffer();
+ }
+
igt_fixture {
/* leave sysctl options in their default state... */
write_u64_file("/proc/sys/dev/i915/oa_max_sample_rate", 100000);
@@ -5104,6 +5203,7 @@ igt_main
if (intel_perf)
intel_perf_free(intel_perf);
+ intel_register_access_fini(&mmio_data);
close(drm_fd);
}
}
--
2.20.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 4+ messages in thread* [igt-dev] ✓ Fi.CI.BAT: success for i915/perf: Sanity check reports in mapped OA buffer
2020-07-14 7:13 [igt-dev] [PATCH] i915/perf: Sanity check reports in mapped OA buffer Umesh Nerlige Ramappa
@ 2020-07-14 7:48 ` Patchwork
2020-07-14 8:51 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
1 sibling, 0 replies; 4+ messages in thread
From: Patchwork @ 2020-07-14 7:48 UTC (permalink / raw)
To: Umesh Nerlige Ramappa; +Cc: igt-dev
== Series Details ==
Series: i915/perf: Sanity check reports in mapped OA buffer
URL : https://patchwork.freedesktop.org/series/79459/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8740 -> IGTPW_4761
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_4761:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* igt@debugfs_test@read_all_entries:
- {fi-kbl-7560u}: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/fi-kbl-7560u/igt@debugfs_test@read_all_entries.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/fi-kbl-7560u/igt@debugfs_test@read_all_entries.html
Known issues
------------
Here are the changes found in IGTPW_4761 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_flink_basic@basic:
- fi-tgl-y: [PASS][3] -> [DMESG-WARN][4] ([i915#402]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/fi-tgl-y/igt@gem_flink_basic@basic.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/fi-tgl-y/igt@gem_flink_basic@basic.html
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-byt-j1900: [PASS][5] -> [DMESG-WARN][6] ([i915#1982])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/fi-byt-j1900/igt@i915_pm_rpm@basic-pci-d3-state.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/fi-byt-j1900/igt@i915_pm_rpm@basic-pci-d3-state.html
* igt@kms_cursor_legacy@basic-flip-before-cursor-atomic:
- fi-icl-u2: [PASS][7] -> [DMESG-WARN][8] ([i915#1982]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/fi-icl-u2/igt@kms_cursor_legacy@basic-flip-before-cursor-atomic.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/fi-icl-u2/igt@kms_cursor_legacy@basic-flip-before-cursor-atomic.html
#### Possible fixes ####
* igt@i915_module_load@reload:
- fi-tgl-u2: [DMESG-WARN][9] ([i915#402]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/fi-tgl-u2/igt@i915_module_load@reload.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/fi-tgl-u2/igt@i915_module_load@reload.html
* igt@i915_pm_rpm@module-reload:
- fi-kbl-guc: [FAIL][11] ([i915#579]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/fi-kbl-guc/igt@i915_pm_rpm@module-reload.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/fi-kbl-guc/igt@i915_pm_rpm@module-reload.html
* igt@kms_busy@basic@modeset:
- {fi-tgl-dsi}: [DMESG-WARN][13] ([i915#1982]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/fi-tgl-dsi/igt@kms_busy@basic@modeset.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/fi-tgl-dsi/igt@kms_busy@basic@modeset.html
* igt@kms_frontbuffer_tracking@basic:
- fi-tgl-y: [DMESG-WARN][15] ([i915#1982]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/fi-tgl-y/igt@kms_frontbuffer_tracking@basic.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/fi-tgl-y/igt@kms_frontbuffer_tracking@basic.html
* igt@vgem_basic@setversion:
- fi-tgl-y: [DMESG-WARN][17] ([i915#402]) -> [PASS][18] +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/fi-tgl-y/igt@vgem_basic@setversion.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/fi-tgl-y/igt@vgem_basic@setversion.html
#### Warnings ####
* igt@gem_exec_suspend@basic-s0:
- fi-kbl-x1275: [DMESG-WARN][19] ([i915#62] / [i915#92]) -> [DMESG-WARN][20] ([i915#1982] / [i915#62] / [i915#92])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/fi-kbl-x1275/igt@gem_exec_suspend@basic-s0.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/fi-kbl-x1275/igt@gem_exec_suspend@basic-s0.html
* igt@gem_exec_suspend@basic-s3:
- fi-kbl-x1275: [DMESG-WARN][21] ([i915#62] / [i915#92]) -> [DMESG-WARN][22] ([i915#62] / [i915#92] / [i915#95]) +2 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/fi-kbl-x1275/igt@gem_exec_suspend@basic-s3.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/fi-kbl-x1275/igt@gem_exec_suspend@basic-s3.html
* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a:
- fi-kbl-x1275: [DMESG-WARN][23] ([i915#62] / [i915#92] / [i915#95]) -> [DMESG-WARN][24] ([i915#62] / [i915#92]) +3 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/fi-kbl-x1275/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/fi-kbl-x1275/igt@kms_pipe_crc_basic@suspend-read-crc-pipe-a.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#579]: https://gitlab.freedesktop.org/drm/intel/issues/579
[i915#62]: https://gitlab.freedesktop.org/drm/intel/issues/62
[i915#92]: https://gitlab.freedesktop.org/drm/intel/issues/92
[i915#95]: https://gitlab.freedesktop.org/drm/intel/issues/95
Participating hosts (47 -> 39)
------------------------------
Missing (8): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-bdw-samus fi-byt-clapper fi-skl-6600u
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_5735 -> IGTPW_4761
CI-20190529: 20190529
CI_DRM_8740: b182a04c513e3b385fa3cdbac559f2625b778be1 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_4761: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/index.html
IGT_5735: 21f8204e54c122e4a0f8ca4b59e4b2db8d1ba687 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Testlist changes ==
+igt@perf@mapped-oa-buffer
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread* [igt-dev] ✓ Fi.CI.IGT: success for i915/perf: Sanity check reports in mapped OA buffer
2020-07-14 7:13 [igt-dev] [PATCH] i915/perf: Sanity check reports in mapped OA buffer Umesh Nerlige Ramappa
2020-07-14 7:48 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2020-07-14 8:51 ` Patchwork
1 sibling, 0 replies; 4+ messages in thread
From: Patchwork @ 2020-07-14 8:51 UTC (permalink / raw)
To: Umesh Nerlige Ramappa; +Cc: igt-dev
== Series Details ==
Series: i915/perf: Sanity check reports in mapped OA buffer
URL : https://patchwork.freedesktop.org/series/79459/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_8740_full -> IGTPW_4761_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_4761_full:
### IGT changes ###
#### Possible regressions ####
* {igt@perf@mapped-oa-buffer} (NEW):
- shard-tglb: NOTRUN -> [SKIP][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-tglb3/igt@perf@mapped-oa-buffer.html
- shard-iclb: NOTRUN -> [SKIP][2]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-iclb3/igt@perf@mapped-oa-buffer.html
New tests
---------
New tests have been introduced between CI_DRM_8740_full and IGTPW_4761_full:
### New IGT tests (1) ###
* igt@perf@mapped-oa-buffer:
- Statuses : 7 skip(s)
- Exec time: [0.0] s
Known issues
------------
Here are the changes found in IGTPW_4761_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_eio@wait-1us:
- shard-hsw: [PASS][3] -> [TIMEOUT][4] ([i915#1958] / [i915#2119]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-hsw4/igt@gem_eio@wait-1us.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-hsw6/igt@gem_eio@wait-1us.html
* igt@gem_exec_balancer@bonded-early:
- shard-kbl: [PASS][5] -> [FAIL][6] ([i915#2079])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl1/igt@gem_exec_balancer@bonded-early.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl2/igt@gem_exec_balancer@bonded-early.html
* igt@gem_exec_endless@dispatch@vecs0:
- shard-iclb: [PASS][7] -> [INCOMPLETE][8] ([i915#1958] / [i915#2119])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-iclb6/igt@gem_exec_endless@dispatch@vecs0.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-iclb7/igt@gem_exec_endless@dispatch@vecs0.html
* igt@gem_exec_reloc@basic-concurrent0:
- shard-glk: [PASS][9] -> [FAIL][10] ([i915#1930])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-glk3/igt@gem_exec_reloc@basic-concurrent0.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-glk9/igt@gem_exec_reloc@basic-concurrent0.html
* igt@gem_exec_suspend@basic:
- shard-apl: [PASS][11] -> [DMESG-WARN][12] ([i915#1635] / [i915#95]) +32 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl8/igt@gem_exec_suspend@basic.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl6/igt@gem_exec_suspend@basic.html
* igt@gem_partial_pwrite_pread@reads-display:
- shard-tglb: [PASS][13] -> [DMESG-WARN][14] ([i915#402]) +1 similar issue
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-tglb5/igt@gem_partial_pwrite_pread@reads-display.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-tglb8/igt@gem_partial_pwrite_pread@reads-display.html
* igt@gen9_exec_parse@allowed-all:
- shard-kbl: [PASS][15] -> [DMESG-WARN][16] ([i915#1436] / [i915#716])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl6/igt@gen9_exec_parse@allowed-all.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl2/igt@gen9_exec_parse@allowed-all.html
* igt@kms_big_fb@linear-16bpp-rotate-180:
- shard-apl: [PASS][17] -> [DMESG-FAIL][18] ([i915#1635] / [i915#95])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl8/igt@kms_big_fb@linear-16bpp-rotate-180.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl4/igt@kms_big_fb@linear-16bpp-rotate-180.html
* igt@kms_cursor_crc@pipe-a-cursor-64x21-random:
- shard-kbl: [PASS][19] -> [DMESG-FAIL][20] ([i915#54] / [i915#95]) +2 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl7/igt@kms_cursor_crc@pipe-a-cursor-64x21-random.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl2/igt@kms_cursor_crc@pipe-a-cursor-64x21-random.html
* igt@kms_cursor_edge_walk@pipe-b-256x256-bottom-edge:
- shard-glk: [PASS][21] -> [DMESG-WARN][22] ([i915#1982]) +1 similar issue
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-glk5/igt@kms_cursor_edge_walk@pipe-b-256x256-bottom-edge.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-glk2/igt@kms_cursor_edge_walk@pipe-b-256x256-bottom-edge.html
* igt@kms_draw_crc@draw-method-rgb565-render-xtiled:
- shard-snb: [PASS][23] -> [TIMEOUT][24] ([i915#1958] / [i915#2119]) +1 similar issue
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-snb5/igt@kms_draw_crc@draw-method-rgb565-render-xtiled.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-snb5/igt@kms_draw_crc@draw-method-rgb565-render-xtiled.html
* igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-untiled:
- shard-apl: [PASS][25] -> [DMESG-FAIL][26] ([i915#1635] / [i915#54] / [i915#95]) +2 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl7/igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-untiled.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl3/igt@kms_draw_crc@draw-method-xrgb8888-mmap-gtt-untiled.html
* igt@kms_flip@flip-vs-suspend@a-dp1:
- shard-kbl: [PASS][27] -> [DMESG-WARN][28] ([i915#180]) +2 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl2/igt@kms_flip@flip-vs-suspend@a-dp1.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl3/igt@kms_flip@flip-vs-suspend@a-dp1.html
* igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary:
- shard-kbl: [PASS][29] -> [FAIL][30] ([i915#49]) +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl3/igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl4/igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary.html
- shard-apl: [PASS][31] -> [FAIL][32] ([i915#1635] / [i915#49]) +1 similar issue
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl4/igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl1/igt@kms_frontbuffer_tracking@fbc-shrfb-scaledprimary.html
* igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-mmap-wc:
- shard-tglb: [PASS][33] -> [DMESG-WARN][34] ([i915#1982])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-tglb6/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-mmap-wc.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-tglb1/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-mmap-wc.html
* igt@kms_hdr@bpc-switch-suspend:
- shard-kbl: [PASS][35] -> [DMESG-WARN][36] ([i915#93] / [i915#95]) +36 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl1/igt@kms_hdr@bpc-switch-suspend.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl7/igt@kms_hdr@bpc-switch-suspend.html
* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-iclb: [PASS][37] -> [SKIP][38] ([fdo#109441]) +4 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-iclb3/igt@kms_psr@psr2_sprite_mmap_gtt.html
* igt@kms_setmode@basic:
- shard-kbl: [PASS][39] -> [FAIL][40] ([i915#31])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl3/igt@kms_setmode@basic.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl6/igt@kms_setmode@basic.html
* igt@perf@gen8-unprivileged-single-ctx-counters:
- shard-apl: [PASS][41] -> [TIMEOUT][42] ([i915#1635] / [i915#1958] / [i915#2119])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl1/igt@perf@gen8-unprivileged-single-ctx-counters.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl2/igt@perf@gen8-unprivileged-single-ctx-counters.html
- shard-glk: [PASS][43] -> [TIMEOUT][44] ([i915#1958] / [i915#2119])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-glk5/igt@perf@gen8-unprivileged-single-ctx-counters.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-glk5/igt@perf@gen8-unprivileged-single-ctx-counters.html
- shard-iclb: [PASS][45] -> [TIMEOUT][46] ([i915#1958] / [i915#2119])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-iclb4/igt@perf@gen8-unprivileged-single-ctx-counters.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-iclb7/igt@perf@gen8-unprivileged-single-ctx-counters.html
- shard-kbl: [PASS][47] -> [TIMEOUT][48] ([i915#1958] / [i915#2119])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl7/igt@perf@gen8-unprivileged-single-ctx-counters.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl3/igt@perf@gen8-unprivileged-single-ctx-counters.html
* igt@perf@invalid-oa-metric-set-id:
- shard-apl: [PASS][49] -> [SKIP][50] ([fdo#109271] / [i915#1635])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl6/igt@perf@invalid-oa-metric-set-id.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl6/igt@perf@invalid-oa-metric-set-id.html
- shard-glk: [PASS][51] -> [SKIP][52] ([fdo#109271])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-glk5/igt@perf@invalid-oa-metric-set-id.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-glk9/igt@perf@invalid-oa-metric-set-id.html
- shard-tglb: [PASS][53] -> [SKIP][54] ([i915#405])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-tglb2/igt@perf@invalid-oa-metric-set-id.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-tglb8/igt@perf@invalid-oa-metric-set-id.html
- shard-hsw: [PASS][55] -> [SKIP][56] ([fdo#109271])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-hsw4/igt@perf@invalid-oa-metric-set-id.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-hsw1/igt@perf@invalid-oa-metric-set-id.html
- shard-iclb: [PASS][57] -> [SKIP][58] ([i915#405])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-iclb7/igt@perf@invalid-oa-metric-set-id.html
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-iclb2/igt@perf@invalid-oa-metric-set-id.html
* igt@perf@rc6-disable:
- shard-iclb: [PASS][59] -> [TIMEOUT][60] ([i915#2119])
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-iclb1/igt@perf@rc6-disable.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-iclb2/igt@perf@rc6-disable.html
- shard-hsw: [PASS][61] -> [TIMEOUT][62] ([i915#2119])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-hsw7/igt@perf@rc6-disable.html
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-hsw6/igt@perf@rc6-disable.html
- shard-kbl: [PASS][63] -> [TIMEOUT][64] ([i915#2119])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl6/igt@perf@rc6-disable.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl7/igt@perf@rc6-disable.html
- shard-apl: [PASS][65] -> [TIMEOUT][66] ([i915#1635] / [i915#2119])
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl3/igt@perf@rc6-disable.html
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl2/igt@perf@rc6-disable.html
- shard-tglb: [PASS][67] -> [TIMEOUT][68] ([i915#2119])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-tglb5/igt@perf@rc6-disable.html
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-tglb6/igt@perf@rc6-disable.html
- shard-glk: [PASS][69] -> [TIMEOUT][70] ([i915#2119])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-glk7/igt@perf@rc6-disable.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-glk2/igt@perf@rc6-disable.html
#### Possible fixes ####
* igt@gem_ctx_persistence@legacy-engines-mixed-process@vebox:
- shard-apl: [FAIL][71] ([i915#1528] / [i915#1635]) -> [PASS][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl7/igt@gem_ctx_persistence@legacy-engines-mixed-process@vebox.html
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl6/igt@gem_ctx_persistence@legacy-engines-mixed-process@vebox.html
* igt@gem_exec_fence@syncobj-unused-fence:
- shard-apl: [DMESG-WARN][73] ([i915#1635] / [i915#95]) -> [PASS][74] +36 similar issues
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl4/igt@gem_exec_fence@syncobj-unused-fence.html
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl8/igt@gem_exec_fence@syncobj-unused-fence.html
* igt@gem_mmap_wc@fault-concurrent:
- shard-iclb: [DMESG-WARN][75] ([i915#1982]) -> [PASS][76] +1 similar issue
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-iclb2/igt@gem_mmap_wc@fault-concurrent.html
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-iclb4/igt@gem_mmap_wc@fault-concurrent.html
* igt@gem_softpin@noreloc-interruptible:
- shard-snb: [INCOMPLETE][77] ([i915#82]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-snb6/igt@gem_softpin@noreloc-interruptible.html
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-snb1/igt@gem_softpin@noreloc-interruptible.html
* igt@gem_sync@basic-all:
- shard-glk: [DMESG-WARN][79] ([i915#118] / [i915#95]) -> [PASS][80] +1 similar issue
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-glk6/igt@gem_sync@basic-all.html
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-glk3/igt@gem_sync@basic-all.html
* igt@gen9_exec_parse@allowed-all:
- shard-apl: [DMESG-WARN][81] ([i915#1436] / [i915#1635] / [i915#716]) -> [PASS][82]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl7/igt@gen9_exec_parse@allowed-all.html
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl6/igt@gen9_exec_parse@allowed-all.html
* igt@i915_module_load@reload:
- shard-tglb: [DMESG-WARN][83] ([i915#402]) -> [PASS][84] +1 similar issue
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-tglb7/igt@i915_module_load@reload.html
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-tglb2/igt@i915_module_load@reload.html
* igt@kms_big_fb@x-tiled-64bpp-rotate-180:
- shard-glk: [DMESG-FAIL][85] ([i915#118] / [i915#95]) -> [PASS][86] +1 similar issue
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-glk8/igt@kms_big_fb@x-tiled-64bpp-rotate-180.html
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-glk2/igt@kms_big_fb@x-tiled-64bpp-rotate-180.html
* igt@kms_color@pipe-a-ctm-blue-to-red:
- shard-kbl: [DMESG-WARN][87] ([i915#93] / [i915#95]) -> [PASS][88] +42 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl6/igt@kms_color@pipe-a-ctm-blue-to-red.html
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl4/igt@kms_color@pipe-a-ctm-blue-to-red.html
* igt@kms_cursor_crc@pipe-a-cursor-256x256-random:
- shard-kbl: [DMESG-FAIL][89] ([i915#54] / [i915#95]) -> [PASS][90] +2 similar issues
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl6/igt@kms_cursor_crc@pipe-a-cursor-256x256-random.html
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl2/igt@kms_cursor_crc@pipe-a-cursor-256x256-random.html
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-kbl: [INCOMPLETE][91] ([i915#155]) -> [PASS][92]
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl3/igt@kms_cursor_crc@pipe-c-cursor-suspend.html
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl7/igt@kms_cursor_crc@pipe-c-cursor-suspend.html
* igt@kms_draw_crc@draw-method-xrgb2101010-mmap-gtt-untiled:
- shard-glk: [DMESG-WARN][93] ([i915#1982]) -> [PASS][94] +1 similar issue
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-glk2/igt@kms_draw_crc@draw-method-xrgb2101010-mmap-gtt-untiled.html
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-glk5/igt@kms_draw_crc@draw-method-xrgb2101010-mmap-gtt-untiled.html
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [DMESG-WARN][95] ([i915#180]) -> [PASS][96] +7 similar issues
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl7/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl1/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
* igt@kms_flip@plain-flip-fb-recreate-interruptible@b-dp1:
- shard-kbl: [FAIL][97] ([i915#2122]) -> [PASS][98]
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl4/igt@kms_flip@plain-flip-fb-recreate-interruptible@b-dp1.html
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl7/igt@kms_flip@plain-flip-fb-recreate-interruptible@b-dp1.html
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-blt:
- shard-tglb: [DMESG-WARN][99] ([i915#1982]) -> [PASS][100]
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-tglb5/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-blt.html
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-tglb8/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-blt.html
* igt@kms_pipe_crc_basic@hang-read-crc-pipe-a:
- shard-kbl: [DMESG-FAIL][101] ([i915#95]) -> [PASS][102] +2 similar issues
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl6/igt@kms_pipe_crc_basic@hang-read-crc-pipe-a.html
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl6/igt@kms_pipe_crc_basic@hang-read-crc-pipe-a.html
* igt@kms_plane@plane-position-covered-pipe-b-planes:
- shard-kbl: [FAIL][103] ([i915#247]) -> [PASS][104]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl6/igt@kms_plane@plane-position-covered-pipe-b-planes.html
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl3/igt@kms_plane@plane-position-covered-pipe-b-planes.html
- shard-apl: [FAIL][105] ([i915#1635] / [i915#247]) -> [PASS][106]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl4/igt@kms_plane@plane-position-covered-pipe-b-planes.html
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl2/igt@kms_plane@plane-position-covered-pipe-b-planes.html
* igt@kms_plane_cursor@pipe-a-viewport-size-128:
- shard-apl: [DMESG-FAIL][107] ([i915#1635] / [i915#95]) -> [PASS][108] +2 similar issues
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl6/igt@kms_plane_cursor@pipe-a-viewport-size-128.html
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl6/igt@kms_plane_cursor@pipe-a-viewport-size-128.html
* igt@kms_psr2_su@page_flip:
- shard-iclb: [SKIP][109] ([fdo#109642] / [fdo#111068]) -> [PASS][110]
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-iclb5/igt@kms_psr2_su@page_flip.html
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-iclb2/igt@kms_psr2_su@page_flip.html
* igt@kms_psr@psr2_primary_render:
- shard-iclb: [SKIP][111] ([fdo#109441]) -> [PASS][112]
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-iclb7/igt@kms_psr@psr2_primary_render.html
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-iclb2/igt@kms_psr@psr2_primary_render.html
* igt@kms_vblank@pipe-a-query-busy-hang:
- shard-hsw: [TIMEOUT][113] ([i915#1958] / [i915#2119]) -> [PASS][114]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-hsw1/igt@kms_vblank@pipe-a-query-busy-hang.html
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-hsw2/igt@kms_vblank@pipe-a-query-busy-hang.html
- shard-snb: [TIMEOUT][115] ([i915#1958] / [i915#2119]) -> [PASS][116]
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-snb6/igt@kms_vblank@pipe-a-query-busy-hang.html
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-snb4/igt@kms_vblank@pipe-a-query-busy-hang.html
* igt@testdisplay:
- shard-kbl: [TIMEOUT][117] ([i915#1692] / [i915#1958] / [i915#2119]) -> [PASS][118]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl7/igt@testdisplay.html
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl6/igt@testdisplay.html
#### Warnings ####
* igt@gem_ctx_persistence@hostile:
- shard-hsw: [SKIP][119] ([fdo#109271] / [i915#1099]) -> [TIMEOUT][120] ([i915#1958] / [i915#2119])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-hsw1/igt@gem_ctx_persistence@hostile.html
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-hsw6/igt@gem_ctx_persistence@hostile.html
- shard-snb: [SKIP][121] ([fdo#109271] / [i915#1099]) -> [TIMEOUT][122] ([i915#1958] / [i915#2119])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-snb5/igt@gem_ctx_persistence@hostile.html
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-snb5/igt@gem_ctx_persistence@hostile.html
* igt@gem_exec_reloc@basic-spin-others@vcs0:
- shard-snb: [WARN][123] ([i915#2036]) -> [WARN][124] ([i915#2021])
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-snb2/igt@gem_exec_reloc@basic-spin-others@vcs0.html
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-snb1/igt@gem_exec_reloc@basic-spin-others@vcs0.html
* igt@gen9_exec_parse@bb-start-far:
- shard-hsw: [INCOMPLETE][125] ([i915#1958]) -> [SKIP][126] ([fdo#109271])
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-hsw1/igt@gen9_exec_parse@bb-start-far.html
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-hsw4/igt@gen9_exec_parse@bb-start-far.html
* igt@i915_pm_dc@dc3co-vpb-simulation:
- shard-iclb: [SKIP][127] ([i915#658]) -> [SKIP][128] ([i915#588])
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-iclb1/igt@i915_pm_dc@dc3co-vpb-simulation.html
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-iclb2/igt@i915_pm_dc@dc3co-vpb-simulation.html
* igt@kms_chamelium@dp-hpd-fast:
- shard-snb: [SKIP][129] ([fdo#109271] / [fdo#111827]) -> [TIMEOUT][130] ([i915#1958] / [i915#2119])
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-snb6/igt@kms_chamelium@dp-hpd-fast.html
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-snb5/igt@kms_chamelium@dp-hpd-fast.html
- shard-hsw: [SKIP][131] ([fdo#109271] / [fdo#111827]) -> [TIMEOUT][132] ([i915#1958] / [i915#2119])
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-hsw7/igt@kms_chamelium@dp-hpd-fast.html
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-hsw6/igt@kms_chamelium@dp-hpd-fast.html
* igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-blt:
- shard-kbl: [DMESG-WARN][133] ([i915#1982]) -> [DMESG-WARN][134] ([i915#93] / [i915#95])
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl7/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-blt.html
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl4/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@psr-rgb565-draw-mmap-cpu:
- shard-hsw: [SKIP][135] ([fdo#109271]) -> [TIMEOUT][136] ([i915#1958] / [i915#2119])
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-hsw6/igt@kms_frontbuffer_tracking@psr-rgb565-draw-mmap-cpu.html
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-hsw6/igt@kms_frontbuffer_tracking@psr-rgb565-draw-mmap-cpu.html
- shard-snb: [SKIP][137] ([fdo#109271]) -> [TIMEOUT][138] ([i915#1958] / [i915#2119])
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-snb5/igt@kms_frontbuffer_tracking@psr-rgb565-draw-mmap-cpu.html
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-snb5/igt@kms_frontbuffer_tracking@psr-rgb565-draw-mmap-cpu.html
* igt@kms_plane_alpha_blend@pipe-b-alpha-opaque-fb:
- shard-apl: [DMESG-FAIL][139] ([fdo#108145] / [i915#1635] / [i915#95]) -> [FAIL][140] ([fdo#108145] / [i915#1635] / [i915#265])
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl7/igt@kms_plane_alpha_blend@pipe-b-alpha-opaque-fb.html
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl3/igt@kms_plane_alpha_blend@pipe-b-alpha-opaque-fb.html
- shard-kbl: [DMESG-FAIL][141] ([fdo#108145] / [i915#95]) -> [FAIL][142] ([fdo#108145] / [i915#265])
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl4/igt@kms_plane_alpha_blend@pipe-b-alpha-opaque-fb.html
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl2/igt@kms_plane_alpha_blend@pipe-b-alpha-opaque-fb.html
* igt@kms_plane_cursor@pipe-d-overlay-size-128:
- shard-hsw: [TIMEOUT][143] ([i915#1958] / [i915#2119]) -> [SKIP][144] ([fdo#109271]) +2 similar issues
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-hsw1/igt@kms_plane_cursor@pipe-d-overlay-size-128.html
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-hsw4/igt@kms_plane_cursor@pipe-d-overlay-size-128.html
- shard-snb: [TIMEOUT][145] ([i915#1958] / [i915#2119]) -> [SKIP][146] ([fdo#109271]) +3 similar issues
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-snb6/igt@kms_plane_cursor@pipe-d-overlay-size-128.html
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-snb1/igt@kms_plane_cursor@pipe-d-overlay-size-128.html
* igt@runner@aborted:
- shard-kbl: ([FAIL][147], [FAIL][148], [FAIL][149], [FAIL][150]) ([i915#1436] / [i915#1784] / [i915#2110]) -> ([FAIL][151], [FAIL][152]) ([fdo#109271] / [i915#1436] / [i915#1784] / [i915#2110] / [i915#716])
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl1/igt@runner@aborted.html
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl2/igt@runner@aborted.html
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl1/igt@runner@aborted.html
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-kbl6/igt@runner@aborted.html
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl2/igt@runner@aborted.html
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-kbl1/igt@runner@aborted.html
- shard-apl: ([FAIL][153], [FAIL][154], [FAIL][155], [FAIL][156]) ([fdo#109271] / [i915#1610] / [i915#1635] / [i915#2110] / [i915#716]) -> [FAIL][157] ([i915#1635] / [i915#2110])
[153]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl7/igt@runner@aborted.html
[154]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl3/igt@runner@aborted.html
[155]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl4/igt@runner@aborted.html
[156]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8740/shard-apl7/igt@runner@aborted.html
[157]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/shard-apl1/igt@runner@aborted.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1099]: https://gitlab.freedesktop.org/drm/intel/issues/1099
[i915#118]: https://gitlab.freedesktop.org/drm/intel/issues/118
[i915#1436]: https://gitlab.freedesktop.org/drm/intel/issues/1436
[i915#1528]: https://gitlab.freedesktop.org/drm/intel/issues/1528
[i915#155]: https://gitlab.freedesktop.org/drm/intel/issues/155
[i915#1610]: https://gitlab.freedesktop.org/drm/intel/issues/1610
[i915#1635]: https://gitlab.freedesktop.org/drm/intel/issues/1635
[i915#1692]: https://gitlab.freedesktop.org/drm/intel/issues/1692
[i915#1784]: https://gitlab.freedesktop.org/drm/intel/issues/1784
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1930]: https://gitlab.freedesktop.org/drm/intel/issues/1930
[i915#1958]: https://gitlab.freedesktop.org/drm/intel/issues/1958
[i915#1982]: https://gitlab.freedesktop.org/drm/intel/issues/1982
[i915#2021]: https://gitlab.freedesktop.org/drm/intel/issues/2021
[i915#2036]: https://gitlab.freedesktop.org/drm/intel/issues/2036
[i915#2079]: https://gitlab.freedesktop.org/drm/intel/issues/2079
[i915#2110]: https://gitlab.freedesktop.org/dr
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_4761/index.html
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 4+ messages in thread
* [igt-dev] [PATCH] i915/perf: Sanity check reports in mapped OA buffer
@ 2020-07-17 1:54 Umesh Nerlige Ramappa
0 siblings, 0 replies; 4+ messages in thread
From: Umesh Nerlige Ramappa @ 2020-07-17 1:54 UTC (permalink / raw)
To: Lionel G Landwerlin, igt-dev
For applications that need a faster way to access reports in the OA
buffer, i915 now provides a way to map the OA buffer to privileged user
space. Add a test to sanity check reports in the mapped OA buffer.
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
---
include/drm-uapi/i915_drm.h | 32 ++++++++++
tests/i915/perf.c | 118 ++++++++++++++++++++++++++++++++++++
2 files changed, 150 insertions(+)
diff --git a/include/drm-uapi/i915_drm.h b/include/drm-uapi/i915_drm.h
index 2b55af13..f7523d55 100644
--- a/include/drm-uapi/i915_drm.h
+++ b/include/drm-uapi/i915_drm.h
@@ -2048,6 +2048,38 @@ struct drm_i915_perf_open_param {
*/
#define I915_PERF_IOCTL_CONFIG _IO('i', 0x2)
+/**
+ * Returns OA buffer properties to be used with mmap.
+ *
+ * This ioctl is available in perf revision 6.
+ */
+#define I915_PERF_IOCTL_GET_OA_BUFFER_INFO _IO('i', 0x3)
+
+/**
+ * OA buffer size and offset.
+ */
+struct drm_i915_perf_oa_buffer_info {
+ __u32 size;
+ __u32 offset;
+ __u64 reserved[4];
+};
+
+/**
+ * Returns current position of OA buffer head and tail.
+ *
+ * This ioctl is available in perf revision 6.
+ */
+#define I915_PERF_IOCTL_GET_OA_BUFFER_HEAD_TAIL _IO('i', 0x4)
+
+/**
+ * OA buffer head and tail.
+ */
+struct drm_i915_perf_oa_buffer_head_tail {
+ __u32 head;
+ __u32 tail;
+ __u64 reserved[4];
+};
+
/**
* Common to all i915 perf records
*/
diff --git a/tests/i915/perf.c b/tests/i915/perf.c
index 92edc9f1..36e98ffa 100644
--- a/tests/i915/perf.c
+++ b/tests/i915/perf.c
@@ -204,6 +204,7 @@ static struct intel_perf *intel_perf = NULL;
static struct intel_perf_metric_set *test_set = NULL;
static bool *undefined_a_counters;
static uint64_t oa_exp_1_millisec;
+struct intel_mmio_data mmio_data;
static igt_render_copyfunc_t render_copy = NULL;
static uint32_t (*read_report_ticks)(uint32_t *report,
@@ -4768,6 +4769,108 @@ test_whitelisted_registers_userspace_config(void)
i915_perf_remove_config(drm_fd, config_id);
}
+#define OA_BUFFER_DATA(tail, head, oa_buffer_size) \
+ (((tail) - (head)) & ((oa_buffer_size) - 1))
+
+static uint32_t oa_status_reg(void)
+{
+ if (IS_HASWELL(devid))
+ return intel_register_read(&mmio_data, 0x2346) & 0x7;
+ else if (IS_GEN12(devid))
+ return intel_register_read(&mmio_data, 0xdafc) & 0x7;
+ else
+ return intel_register_read(&mmio_data, 0x2b08) & 0xf;
+}
+
+static void check_reports_from_mapped_buffer(enum drm_i915_oa_format fmt,
+ int oa_exponent)
+{
+ struct drm_i915_perf_oa_buffer_info oa_buffer;
+ struct drm_i915_perf_oa_buffer_head_tail oa_ht;
+ struct oa_format format = get_oa_format(fmt);
+ size_t report_size = format.size;
+ uint8_t *reports;
+ uint32_t *report0, *report1;
+ uint32_t num_reports, timer_reports = 0;
+ uint32_t period_us = oa_exponent_to_ns(oa_exponent) / 1000;
+ void *oa_vaddr;
+ int i;
+
+ do_ioctl(stream_fd, I915_PERF_IOCTL_GET_OA_BUFFER_INFO, &oa_buffer);
+
+ igt_debug("size = %d\n", oa_buffer.size);
+ igt_debug("offset = %x\n", oa_buffer.offset);
+
+ igt_assert_eq(oa_buffer.size & (oa_buffer.size - 1), 0);
+ igt_assert_eq(oa_status_reg(), 0);
+
+ /* try a couple invalid mmaps */
+ /* bad offsets */
+ igt_assert(mmap(0, oa_buffer.size, PROT_READ, MAP_PRIVATE,
+ stream_fd, 0) == (void *) -1);
+ igt_assert(mmap(0, oa_buffer.size, PROT_READ, MAP_PRIVATE,
+ stream_fd, 8192) == (void *) -1);
+ igt_assert(mmap(0, oa_buffer.size, PROT_READ, MAP_PRIVATE,
+ stream_fd, 11) == (void *) -1);
+
+ /* bad size */
+ igt_assert(mmap(0, oa_buffer.size + 4096, PROT_READ, MAP_PRIVATE,
+ stream_fd, oa_buffer.offset) == (void *) -1);
+
+ /* do the right thing */
+ oa_vaddr = mmap(0, oa_buffer.size, PROT_READ, MAP_PRIVATE, stream_fd, oa_buffer.offset);
+
+ /* wait for approx 100 reports */
+ usleep(100 * period_us);
+
+ do_ioctl(stream_fd, I915_PERF_IOCTL_GET_OA_BUFFER_HEAD_TAIL, &oa_ht);
+
+ igt_debug("head = %x\n", oa_ht.head);
+ igt_debug("tail = %x\n", oa_ht.tail);
+
+ reports = (uint8_t *) (oa_vaddr + oa_ht.head);
+
+ num_reports = OA_BUFFER_DATA(oa_ht.tail,
+ oa_ht.head,
+ oa_buffer.size) / report_size;
+
+ for (i = 0; i < num_reports; i++) {
+ report1 = (uint32_t *)(reports + (i * report_size));
+ if (!oa_report_is_periodic(oa_exponent, report1))
+ continue;
+
+ timer_reports++;
+ if (timer_reports >= 2)
+ sanity_check_reports(report0, report1, fmt);
+
+ report0 = report1;
+ }
+
+ munmap(oa_vaddr, oa_buffer.size);
+}
+
+static void test_mapped_oa_buffer(void)
+{
+ int oa_exponent = max_oa_exponent_for_period_lte(1000000);
+ enum drm_i915_oa_format fmt = test_set->perf_oa_format;
+ uint64_t properties[] = {
+ DRM_I915_PERF_PROP_SAMPLE_OA, true,
+ DRM_I915_PERF_PROP_OA_METRICS_SET, test_set->perf_oa_metrics_set,
+ DRM_I915_PERF_PROP_OA_FORMAT, fmt,
+ DRM_I915_PERF_PROP_OA_EXPONENT, oa_exponent,
+
+ };
+ struct drm_i915_perf_open_param param = {
+ .flags = I915_PERF_FLAG_FD_CLOEXEC,
+ .num_properties = sizeof(properties) / 16,
+ .properties_ptr = to_user_pointer(properties),
+ };
+
+ stream_fd = __perf_open(drm_fd, ¶m, false);
+ check_reports_from_mapped_buffer(fmt, oa_exponent);
+ __perf_close(stream_fd);
+}
+
static unsigned
read_i915_module_ref(void)
{
@@ -4936,6 +5039,9 @@ igt_main
render_copy = igt_get_render_copyfunc(devid);
igt_require_f(render_copy, "no render-copy function\n");
+
+ intel_register_access_init(&mmio_data, intel_get_pci_device(),
+ 0, drm_fd);
}
igt_subtest("non-system-wide-paranoid")
@@ -5096,6 +5202,17 @@ igt_main
igt_subtest("whitelisted-registers-userspace-config")
test_whitelisted_registers_userspace_config();
+
+ igt_subtest_group {
+ igt_fixture {
+ igt_require(i915_perf_revision(drm_fd) >= 6);
+ }
+
+ igt_describe("Verify mapping of oa buffer");
+ igt_subtest("mapped-oa-buffer")
+ test_mapped_oa_buffer();
+ }
+
igt_fixture {
/* leave sysctl options in their default state... */
write_u64_file("/proc/sys/dev/i915/oa_max_sample_rate", 100000);
@@ -5104,6 +5221,7 @@ igt_main
if (intel_perf)
intel_perf_free(intel_perf);
+ intel_register_access_fini(&mmio_data);
close(drm_fd);
}
}
--
2.20.1
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-07-17 1:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-14 7:13 [igt-dev] [PATCH] i915/perf: Sanity check reports in mapped OA buffer Umesh Nerlige Ramappa
2020-07-14 7:48 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2020-07-14 8:51 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2020-07-17 1:54 [igt-dev] [PATCH] " Umesh Nerlige Ramappa
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox