Skip to contentSkip to conversation

lib/igt_dsc: update debugfs

PATCH In review Swati Sharma 3 participants 4 messages Oct 18, 2023 – Oct 19, 2023 Library code

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/igt_dsc: update debugfs

Instead of using i915_capabilities, use i915_display_capabilities.

---
 lib/igt_dsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/igt_dsc.c +1 -1
index 76a420c10..1a57a8b23 100644
@@ -56,7 +56,7 @@ bool igt_is_dsc_supported_by_source(int drmfd)
 	dir = igt_debugfs_dir(drmfd);
 	igt_assert(dir >= 0);
 
-	res = igt_debugfs_simple_read(dir, "i915_capabilities",
+	res = igt_debugfs_simple_read(dir, "i915_display_capabilities",
 				      buf, sizeof(buf));
 	close(dir);
 
Signature · 1 line
2.25.1
#1 lore raw

[igt-dev] ✗ Fi.CI.BAT: failure for lib/igt_dsc: update debugfs

== Series Details ==

== Series Details ==

Series: lib/igt_dsc: update debugfs
URL : https://patchwork.freedesktop.org/series/125274/
State : failure

== Summary ==

CI Bug Log - changes from CI_DRM_13769 -> IGTPW_10021
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_10021 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in IGTPW_10021, please notify your bug team ([email protected]) 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_10021/index.html

Participating hosts (31 -> 32)
------------------------------

Additional (1): fi-cfl-8109u

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_10021:

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@gt_mocs:
- bat-adlm-1: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/bat-adlm-1/igt@i915_selftest@live@gt_mocs.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-adlm-1/igt@i915_selftest@live@gt_mocs.html

* igt@i915_selftest@live@gtt:
- bat-dg1-5: [PASS][3] -> [INCOMPLETE][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/bat-dg1-5/igt@i915_selftest@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-dg1-5/igt@i915_selftest@[email protected]

* igt@kms_dsc@dsc-basic:
- bat-dg2-9: NOTRUN -> [SKIP][5]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-dg2-9/igt@[email protected]
- bat-jsl-3: NOTRUN -> [SKIP][6]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-jsl-3/igt@[email protected]

#### Warnings ####

* igt@kms_dsc@dsc-basic:
- bat-dg2-11: [SKIP][7] ([i915#3555] / [i915#3840]) -> [SKIP][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/bat-dg2-11/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-dg2-11/igt@[email protected]
- bat-adln-1: [SKIP][9] ([i915#3555] / [i915#3840]) -> [SKIP][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/bat-adln-1/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-adln-1/igt@[email protected]
- bat-rplp-1: [SKIP][11] ([i915#3555] / [i915#3840]) -> [SKIP][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/bat-rplp-1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-rplp-1/igt@[email protected]
- fi-rkl-11600: [SKIP][13] ([i915#3555] / [i915#3840]) -> [SKIP][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/fi-rkl-11600/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/fi-rkl-11600/igt@[email protected]
- bat-adlp-11: [SKIP][15] ([i915#3555] / [i915#3840]) -> [SKIP][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/bat-adlp-11/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-adlp-11/igt@[email protected]
- bat-mtlp-8: [SKIP][17] ([i915#3555] / [i915#3840] / [i915#9159]) -> [SKIP][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/bat-mtlp-8/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-mtlp-8/igt@[email protected]
- bat-adlp-6: [SKIP][19] ([i915#3555] / [i915#3840]) -> [SKIP][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/bat-adlp-6/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-adlp-6/igt@[email protected]
- bat-dg1-5: [SKIP][21] ([i915#3555] / [i915#3840]) -> [SKIP][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/bat-dg1-5/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-dg1-5/igt@[email protected]
- bat-adlp-9: [SKIP][23] ([i915#3555] / [i915#3840]) -> [SKIP][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/bat-adlp-9/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-adlp-9/igt@[email protected]

#### Suppressed ####

The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.

* igt@kms_dsc@dsc-basic:
- {bat-dg2-14}: [SKIP][25] ([i915#3555] / [i915#3840]) -> [SKIP][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/bat-dg2-14/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-dg2-14/igt@[email protected]

Known issues
------------

Here are the changes found in IGTPW_10021 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@debugfs_test@basic-hwmon:
- bat-jsl-3: NOTRUN -> [SKIP][27] ([i915#9318])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-jsl-3/igt@[email protected]

* igt@gem_huc_copy@huc-copy:
- fi-cfl-8109u: NOTRUN -> [SKIP][28] ([fdo#109271] / [i915#2190])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/fi-cfl-8109u/igt@[email protected]
- bat-jsl-3: NOTRUN -> [SKIP][29] ([i915#2190])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-jsl-3/igt@[email protected]

* igt@gem_lmem_swapping@basic:
- bat-jsl-3: NOTRUN -> [SKIP][30] ([i915#4613]) +3 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-jsl-3/igt@[email protected]

* igt@gem_lmem_swapping@verify-random:
- fi-cfl-8109u: NOTRUN -> [SKIP][31] ([fdo#109271] / [i915#4613]) +3 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/fi-cfl-8109u/igt@[email protected]

* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-jsl-3: NOTRUN -> [SKIP][32] ([i915#4103]) +1 other test skip
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-jsl-3/igt@[email protected]
- fi-cfl-8109u: NOTRUN -> [SKIP][33] ([fdo#109271]) +10 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/fi-cfl-8109u/igt@[email protected]

* igt@kms_force_connector_basic@force-load-detect:
- bat-jsl-3: NOTRUN -> [SKIP][34] ([fdo#109285])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-jsl-3/igt@[email protected]

* igt@kms_setmode@basic-clone-single-crtc:
- bat-jsl-3: NOTRUN -> [SKIP][35] ([i915#3555])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-jsl-3/igt@[email protected]

#### Possible fixes ####

* igt@i915_module_load@load:
- bat-jsl-3: [INCOMPLETE][36] -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/bat-jsl-3/igt@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-jsl-3/igt@[email protected]

* igt@i915_selftest@live@mman:
- fi-elk-e7500: [INCOMPLETE][38] -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/fi-elk-e7500/igt@i915_selftest@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/fi-elk-e7500/igt@i915_selftest@[email protected]

* igt@kms_hdmi_inject@inject-audio:
- fi-kbl-guc: [FAIL][40] ([IGT#3]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/fi-kbl-guc/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/fi-kbl-guc/igt@[email protected]

#### Warnings ####

* igt@debugfs_test@basic-hwmon:
- bat-kbl-2: [SKIP][42] ([fdo#109271]) -> [INCOMPLETE][43] ([i915#2295])
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13769/bat-kbl-2/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/bat-kbl-2/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[IGT#3]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/3
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2295]: https://gitlab.freedesktop.org/drm/intel/issues/2295
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#9159]: https://gitlab.freedesktop.org/drm/intel/issues/9159
[i915#9318]: https://gitlab.freedesktop.org/drm/intel/issues/9318

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_7543 -> IGTPW_10021

CI-20190529: 20190529
CI_DRM_13769: 30f23d5bc2534f1707286bbf60be32d234fb54c3 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_10021: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/index.html
IGT_7543: 688f12831f876590e084e9b13b4d5ab85fe13d51 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/index.html

#2 lore raw

[igt-dev] ✓ CI.xeBAT: success for lib/igt_dsc: update debugfs

In reply to Swati Sharma
== Series Details ==

== Series Details ==

Series: lib/igt_dsc: update debugfs
URL : https://patchwork.freedesktop.org/series/125274/
State : success

== Summary ==

CI Bug Log - changes from XEIGT_7543_BAT -> XEIGTPW_10021_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (4 -> 3)
------------------------------

Missing (1): bat-adlp-7

Known issues
------------

Here are the changes found in XEIGTPW_10021_BAT that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@kms_addfb_basic@invalid-set-prop-any:
- bat-atsm-2: NOTRUN -> [SKIP][1] ([i915#6077]) +33 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-atsm-2/igt@[email protected]

* igt@kms_cursor_legacy@basic-flip-before-cursor-legacy:
- bat-atsm-2: NOTRUN -> [SKIP][2] ([Intel XE#782]) +5 other tests skip
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-atsm-2/igt@[email protected]

* igt@kms_dsc@dsc-basic:
- bat-atsm-2: NOTRUN -> [SKIP][3] ([Intel XE#784])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-atsm-2/igt@[email protected]

* igt@kms_flip@basic-flip-vs-modeset:
- bat-atsm-2: NOTRUN -> [SKIP][4] ([Intel XE#541]) +3 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-atsm-2/igt@[email protected]

* igt@kms_force_connector_basic@force-connector-state:
- bat-atsm-2: NOTRUN -> [SKIP][5] ([Intel XE#540]) +3 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-atsm-2/igt@[email protected]

* igt@kms_frontbuffer_tracking@basic:
- bat-atsm-2: NOTRUN -> [SKIP][6] ([Intel XE#783])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-atsm-2/igt@[email protected]

* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-xr24:
- bat-atsm-2: NOTRUN -> [SKIP][7] ([i915#1836]) +6 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-atsm-2/igt@[email protected]

* igt@kms_prop_blob@basic:
- bat-atsm-2: NOTRUN -> [SKIP][8] ([Intel XE#780])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-atsm-2/igt@[email protected]

* igt@kms_psr@cursor_plane_move:
- bat-atsm-2: NOTRUN -> [SKIP][9] ([Intel XE#535]) +2 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-atsm-2/igt@kms_psr@cursor_plane_move.html

* igt@xe_compute@compute-square:
- bat-atsm-2: NOTRUN -> [SKIP][10] ([Intel XE#672])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-atsm-2/igt@[email protected]

* igt@xe_exec_fault_mode@twice-userptr-invalidate-imm:
- bat-atsm-2: NOTRUN -> [SKIP][11] ([Intel XE#288]) +17 other tests skip
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-atsm-2/igt@[email protected]

* igt@xe_huc_copy@huc_copy:
- bat-atsm-2: NOTRUN -> [SKIP][12] ([Intel XE#255])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-atsm-2/igt@xe_huc_copy@huc_copy.html

#### Possible fixes ####

* igt@xe_module_load@load:
- bat-atsm-2: [INCOMPLETE][13] ([Intel XE#714]) -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7543/bat-atsm-2/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-atsm-2/igt@[email protected]

#### Warnings ####

* igt@xe_exec_fault_mode@twice-invalid-fault:
- bat-pvc-2: [INCOMPLETE][15] ([Intel XE#613]) -> [INCOMPLETE][16] ([Intel XE#613] / [Intel XE#814])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7543/bat-pvc-2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/bat-pvc-2/igt@[email protected]

{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).

[Intel XE#255]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/255
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#535]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/535
[Intel XE#540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/540
[Intel XE#541]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/541
[Intel XE#613]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/613
[Intel XE#672]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/672
[Intel XE#714]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/714
[Intel XE#780]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/780
[Intel XE#782]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/782
[Intel XE#783]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/783
[Intel XE#784]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/784
[Intel XE#814]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/814
[i915#1836]: https://gitlab.freedesktop.org/drm/intel/issues/1836
[i915#6077]: https://gitlab.freedesktop.org/drm/intel/issues/6077

Build changes
-------------

* IGT: IGT_7543 -> IGTPW_10021
* Linux: xe-439-cbcd3e95647ff14d508d1a42dce785693446c7f2 -> xe-441-4d039d7be23937e2b498ed783aa5b0d8801b377b

IGTPW_10021: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10021/index.html
IGT_7543: 688f12831f876590e084e9b13b4d5ab85fe13d51 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-439-cbcd3e95647ff14d508d1a42dce785693446c7f2: cbcd3e95647ff14d508d1a42dce785693446c7f2 xe-441-4d039d7be23937e2b498ed783aa5b0d8801b377b: 4d039d7be23937e2b498ed783aa5b0d8801b377b

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10021/index.html

Reviewed-by on v1 1/1
#3 lore raw
In reply to Swati Sharma
Quoted 6 lines · Swati Sharma

Instead of using i915_capabilities, use i915_display_capabilities.

---
 lib/igt_dsc.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 14 lines
lib/igt_dsc.c +0 -0
index 76a420c10..1a57a8b23 100644
@@ -56,7 +56,7 @@ bool igt_is_dsc_supported_by_source(int drmfd)
         dir = igt_debugfs_dir(drmfd);
         igt_assert(dir >= 0);


-       res = igt_debugfs_simple_read(dir, "i915_capabilities", +       res = igt_debugfs_simple_read(dir, "i915_display_capabilities", buf, sizeof(buf)); close(dir);