tests/intel/xe_sysfs_defaults: Validate for all default values
PATCH 1/1 tests/intel/xe_sysfs_defaults: Validate for all default values
From: nakshtra goyal <[email protected]>
Change in igt_assert_f function parameters so that it also validate for property value equals to 0.
--- tests/intel/xe_sysfs_defaults.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tests/intel/xe_sysfs_defaults.c +2 -2
@@ -42,8 +42,8 @@ static void test_defaults(int xe, int engine, const char **property)igt_debug ("Checking attr '%s'\n" , de->d_name); -igt_assert_f (property_value =igt_sysfs_get_u64 (defaults, de->d_name), -"Default value %s is not present!\n" , de->d_name); + property_value =igt_sysfs_get_u64 (defaults, de->d_name); +igt_assert_f (property_value >=0 ,"Default value %s is not present!\n" , de->d_name);igt_debug ("Default property:%s, value:%d\n" , de->d_name, property_value);
Signature · 1 line
2.34.1
Patchwork
CI✓ Fi.CI.BAT: success for tests/intel/xe_sysfs_defaults: Validate for all default values
== Series Details ==
== Series Details ==
Series: tests/intel/xe_sysfs_defaults: Validate for all default values
URL : https://patchwork.freedesktop.org/series/131964/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_14519 -> IGTPW_10970
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/index.html
Participating hosts (34 -> 35)
------------------------------
Additional (3): fi-bsw-nick bat-mtlp-8 bat-arls-3
Missing (2): bat-kbl-2 fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_10970:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses. They do not affect the overall result.
* igt@i915_selftest@live@gem_contexts:
- {bat-arls-4}: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14519/bat-arls-4/igt@i915_selftest@live@gem_contexts.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-4/igt@i915_selftest@live@gem_contexts.html
Known issues
------------
Here are the changes found in IGTPW_10970 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@debugfs_test@basic-hwmon:
- bat-mtlp-8: NOTRUN -> [SKIP][3] ([i915#9318])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][4] ([i915#9318])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
* igt@gem_lmem_swapping@basic@lmem0:
- bat-dg2-8: [PASS][5] -> [FAIL][6] ([i915#10378])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14519/bat-dg2-8/igt@gem_lmem_swapping@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-dg2-8/igt@gem_lmem_swapping@[email protected]
* igt@gem_lmem_swapping@parallel-random-engines:
- fi-bsw-nick: NOTRUN -> [SKIP][7] +19 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/fi-bsw-nick/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][8] ([i915#10213]) +3 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- bat-mtlp-8: NOTRUN -> [SKIP][9] ([i915#4613]) +3 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
* igt@gem_mmap@basic:
- bat-mtlp-8: NOTRUN -> [SKIP][10] ([i915#4083])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][11] ([i915#4083])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
* igt@gem_mmap_gtt@basic:
- bat-mtlp-8: NOTRUN -> [SKIP][12] ([i915#4077]) +2 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
* igt@gem_render_tiled_blits@basic:
- bat-mtlp-8: NOTRUN -> [SKIP][13] ([i915#4079]) +1 other test skip
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][14] ([i915#10197] / [i915#10211] / [i915#4079])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
* igt@gem_tiled_blits@basic:
- bat-arls-3: NOTRUN -> [SKIP][15] ([i915#10196] / [i915#4077]) +2 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
* igt@gem_tiled_pread_basic:
- bat-arls-3: NOTRUN -> [SKIP][16] ([i915#10206] / [i915#4079])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@gem_tiled_pread_basic.html
* igt@i915_pm_rps@basic-api:
- bat-mtlp-8: NOTRUN -> [SKIP][17] ([i915#6621])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][18] ([i915#10209])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
* igt@kms_addfb_basic@addfb25-x-tiled-legacy:
- bat-arls-3: NOTRUN -> [SKIP][19] ([i915#10200]) +9 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][20] ([i915#5190])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][21] ([i915#4212]) +8 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- bat-arls-3: NOTRUN -> [SKIP][22] ([i915#10202]) +1 other test skip
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][23] ([i915#4213]) +1 other test skip
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-arls-3: NOTRUN -> [SKIP][24] ([i915#9886])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [SKIP][25] ([i915#3555] / [i915#3840] / [i915#9159])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-arls-3: NOTRUN -> [SKIP][26] ([i915#10207])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [SKIP][27]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
* igt@kms_force_connector_basic@prune-stale-modes:
- bat-mtlp-8: NOTRUN -> [SKIP][28] ([i915#5274])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
* igt@kms_pm_backlight@basic-brightness:
- bat-arls-3: NOTRUN -> [SKIP][29] ([i915#9812])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
* igt@kms_psr@psr-primary-mmap-gtt:
- bat-arls-3: NOTRUN -> [SKIP][30] ([i915#9732]) +3 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
* igt@kms_psr@psr-primary-mmap-gtt@edp-1:
- bat-mtlp-8: NOTRUN -> [SKIP][31] ([i915#4077] / [i915#9688])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@kms_psr@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- bat-mtlp-8: NOTRUN -> [SKIP][32] ([i915#3555] / [i915#8809])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][33] ([i915#10208] / [i915#8809])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
* igt@prime_vgem@basic-fence-mmap:
- bat-arls-3: NOTRUN -> [SKIP][34] ([i915#10196] / [i915#3708] / [i915#4077]) +1 other test skip
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [SKIP][35] ([i915#3708] / [i915#4077]) +1 other test skip
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
* igt@prime_vgem@basic-fence-read:
- bat-mtlp-8: NOTRUN -> [SKIP][36] ([i915#3708]) +1 other test skip
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][37] ([i915#10212] / [i915#3708])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
* igt@prime_vgem@basic-read:
- bat-arls-3: NOTRUN -> [SKIP][38] ([i915#10214] / [i915#3708])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
* igt@prime_vgem@basic-write:
- bat-mtlp-8: NOTRUN -> [SKIP][39] ([i915#10216] / [i915#3708])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-8/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][40] ([i915#10216] / [i915#3708])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-arls-3/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live@gt_timelines:
- bat-dg2-11: [ABORT][41] ([i915#10366]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14519/bat-dg2-11/igt@i915_selftest@live@gt_timelines.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-dg2-11/igt@i915_selftest@live@gt_timelines.html
* igt@i915_selftest@live@hangcheck:
- {bat-mtlp-9}: [DMESG-WARN][43] ([i915#9522]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14519/bat-mtlp-9/igt@i915_selftest@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-mtlp-9/igt@i915_selftest@[email protected]
- bat-rpls-3: [DMESG-WARN][45] ([i915#5591]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14519/bat-rpls-3/igt@i915_selftest@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/bat-rpls-3/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#10196]: https://gitlab.freedesktop.org/drm/intel/issues/10196
[i915#10197]: https://gitlab.freedesktop.org/drm/intel/issues/10197
[i915#10200]: https://gitlab.freedesktop.org/drm/intel/issues/10200
[i915#10202]: https://gitlab.freedesktop.org/drm/intel/issues/10202
[i915#10206]: https://gitlab.freedesktop.org/drm/intel/issues/10206
[i915#10207]: https://gitlab.freedesktop.org/drm/intel/issues/10207
[i915#10208]: https://gitlab.freedesktop.org/drm/intel/issues/10208
[i915#10209]: https://gitlab.freedesktop.org/drm/intel/issues/10209
[i915#10211]: https://gitlab.freedesktop.org/drm/intel/issues/10211
[i915#10212]: https://gitlab.freedesktop.org/drm/intel/issues/10212
[i915#10213]: https://gitlab.freedesktop.org/drm/intel/issues/10213
[i915#10214]: https://gitlab.freedesktop.org/drm/intel/issues/10214
[i915#10216]: https://gitlab.freedesktop.org/drm/intel/issues/10216
[i915#10366]: https://gitlab.freedesktop.org/drm/intel/issues/10366
[i915#10378]: https://gitlab.freedesktop.org/drm/intel/issues/10378
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
[i915#5591]: https://gitlab.freedesktop.org/drm/intel/issues/5591
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#8809]: https://gitlab.freedesktop.org/drm/intel/issues/8809
[i915#9159]: https://gitlab.freedesktop.org/drm/intel/issues/9159
[i915#9318]: https://gitlab.freedesktop.org/drm/intel/issues/9318
[i915#9522]: https://gitlab.freedesktop.org/drm/intel/issues/9522
[i915#9688]: https://gitlab.freedesktop.org/drm/intel/issues/9688
[i915#9732]: https://gitlab.freedesktop.org/drm/intel/issues/9732
[i915#9812]: https://gitlab.freedesktop.org/drm/intel/issues/9812
[i915#9886]: https://gitlab.freedesktop.org/drm/intel/issues/9886
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7796 -> IGTPW_10970
CI-20190529: 20190529
CI_DRM_14519: f4b306bc42834d24085b45a5a3d1521a451b2abf @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_10970: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/index.html
IGT_7796: 2cfed18f6aa776c1593d7cc328d23225dd61bdf9 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/index.html
Patchwork
CI✓ CI.xeBAT: success for tests/intel/xe_sysfs_defaults: Validate for all default values
In reply to [email protected]== Series Details ==
== Series Details ==
Series: tests/intel/xe_sysfs_defaults: Validate for all default values
URL : https://patchwork.freedesktop.org/series/131964/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_7796_BAT -> XEIGTPW_10970_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (5 -> 5)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in XEIGTPW_10970_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_addfb_basic@addfb25-x-tiled-legacy:
- bat-pvc-2: NOTRUN -> [SKIP][1] ([i915#6077]) +30 other tests skip
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@[email protected]
* igt@kms_cursor_legacy@basic-flip-after-cursor-atomic:
- bat-pvc-2: NOTRUN -> [SKIP][2] ([Intel XE#1024] / [Intel XE#782]) +5 other tests skip
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-pvc-2: NOTRUN -> [SKIP][3] ([Intel XE#1024] / [Intel XE#784])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@[email protected]
* igt@kms_flip@basic-flip-vs-wf_vblank:
- bat-pvc-2: NOTRUN -> [SKIP][4] ([Intel XE#1024] / [Intel XE#947]) +3 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@kms_flip@basic-flip-vs-wf_vblank.html
* igt@kms_force_connector_basic@force-connector-state:
- bat-pvc-2: NOTRUN -> [SKIP][5] ([Intel XE#540]) +3 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- bat-pvc-2: NOTRUN -> [SKIP][6] ([Intel XE#1024] / [Intel XE#783])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc:
- bat-pvc-2: NOTRUN -> [SKIP][7] ([Intel XE#829]) +6 other tests skip
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@[email protected]
* igt@kms_prop_blob@basic:
- bat-pvc-2: NOTRUN -> [SKIP][8] ([Intel XE#780])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@[email protected]
* igt@kms_psr@psr-cursor-plane-move:
- bat-pvc-2: NOTRUN -> [SKIP][9] ([Intel XE#1024]) +2 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@[email protected]
* igt@xe_gt_freq@freq_range_idle:
- bat-pvc-2: NOTRUN -> [SKIP][10] ([Intel XE#1021]) +1 other test skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@xe_gt_freq@freq_range_idle.html
* igt@xe_huc_copy@huc_copy:
- bat-pvc-2: NOTRUN -> [SKIP][11] ([Intel XE#255])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@xe_huc_copy@huc_copy.html
* igt@xe_intel_bb@render:
- bat-pvc-2: NOTRUN -> [SKIP][12] ([Intel XE#532])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@[email protected]
* igt@xe_pat@pat-index-xe2:
- bat-pvc-2: NOTRUN -> [SKIP][13] ([Intel XE#977]) +1 other test skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@[email protected]
* igt@xe_pat@pat-index-xehpc@render:
- bat-pvc-2: NOTRUN -> [SKIP][14] ([Intel XE#976])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@xe_pat@[email protected]
* igt@xe_pat@pat-index-xelpg:
- bat-pvc-2: NOTRUN -> [SKIP][15] ([Intel XE#979])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/bat-pvc-2/igt@[email protected]
* igt@xe_pm_residency@gt-c6-on-idle:
- bat-pvc-2: NOTRUN -> [SKIP][16] ([Intel XE#531])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/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#1021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1021
[Intel XE#1024]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1024
[Intel XE#1414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1414
[Intel XE#1415]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1415
[Intel XE#255]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/255
[Intel XE#531]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/531
[Intel XE#532]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/532
[Intel XE#540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/540
[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#829]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/829
[Intel XE#947]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/947
[Intel XE#976]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/976
[Intel XE#977]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/977
[Intel XE#979]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/979
[i915#6077]: https://gitlab.freedesktop.org/drm/intel/issues/6077
Build changes
-------------
* IGT: IGT_7796 -> IGTPW_10970
* Linux: xe-1025-f54ea7473cd118eb39978f2e946b17558b5ff46d -> xe-1029-f4b306bc42834d24085b45a5a3d1521a451b2abf
IGTPW_10970: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10970/index.html
IGT_7796: 2cfed18f6aa776c1593d7cc328d23225dd61bdf9 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-1025-f54ea7473cd118eb39978f2e946b17558b5ff46d: f54ea7473cd118eb39978f2e946b17558b5ff46d xe-1029-f4b306bc42834d24085b45a5a3d1521a451b2abf: f4b306bc42834d24085b45a5a3d1521a451b2abf
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10970/index.html
Quoted 43 lines
-----Original Message-----
From: Goyal, Nakshtra <[email protected]>
Sent: Wednesday, April 3, 2024 9:55 AM
To: [email protected]; Gandi, Ramadevi <[email protected]>
Cc: Kumar, Janga Rahul <[email protected]>; Ghimiray, Himal Prasad <[email protected]>; Dandamudi, Priyanka <[email protected]>
Subject: [PATCH i-g-t] tests/intel/xe_sysfs_defaults: Validate for all default valuesFrom: nakshtra goyal <[email protected]>
Change in
igt_assert_ffunction parameters so that it also validate for property value equals to 0.Cc Himal Prasad Ghimiray <[email protected]>Cc Janga Rahul Kumar <[email protected]>Cc Priyanka Dandamudi <[email protected]>Signed-off-by nakshtra goyal <[email protected]>--- tests/intel/xe_sysfs_defaults.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)tests/intel/xe_sysfs_defaults.c +3
-2@@ -42,8 +42,8 @@ static void test_defaults(int xe, int engine, const char **property)igt_debug ("Checking attr '%s'\n" , de->d_name); -igt_assert_f (property_value =igt_sysfs_get_u64 (defaults, de- >d_name), -"Default value %s is not present!\n" , de->d_name); + property_value =igt_sysfs_get_u64 (defaults, de->d_name); +igt_assert_f (property_value >=0 ,"Default value %s is not +present!\n", de->d_name); igt_debug("Default property:%s, value:%d\n", de->d_name,
Quoted 2 lines
property_value);
LGTM
Quoted 2 lines
--
2.34.1
Quoted 14 lines
-----Original Message-----
From: Goyal, Nakshtra <[email protected]>
Sent: Wednesday, April 3, 2024 9:55 AM
To: [email protected]; Gandi, Ramadevi <[email protected]>
Cc: Kumar, Janga Rahul <[email protected]>; Ghimiray, Himal Prasad <[email protected]>; Dandamudi, Priyanka <[email protected]>
Subject: [PATCH i-g-t] tests/intel/xe_sysfs_defaults: Validate for all default valuesFrom: nakshtra goyal <[email protected]>
Quoted 7 lines
Change in
igt_assert_ffunction parameters so that it also validate for property value equals to 0.Cc Himal Prasad Ghimiray <[email protected]>Cc Janga Rahul Kumar <[email protected]>Cc Priyanka Dandamudi <[email protected]>Signed-off-by nakshtra goyal <[email protected]>
LGTM,
Quoted 25 lines
--- tests/intel/xe_sysfs_defaults.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)tests/intel/xe_sysfs_defaults.c +3
-2@@ -42,8 +42,8 @@ static void test_defaults(int xe, int engine, const char **property)igt_debug ("Checking attr '%s'\n" , de->d_name); -igt_assert_f (property_value =igt_sysfs_get_u64 (defaults, de- >d_name), -"Default value %s is not present!\n" , de->d_name); + property_value =igt_sysfs_get_u64 (defaults, de->d_name); +igt_assert_f (property_value >=0 ,"Default value %s is not +present!\n", de->d_name); igt_debug("Default property:%s, value:%d\n", de->d_name,
property_value);--
2.34.1
Hi nakshtra.goyal,
Quoted 18 lines · On 2024-04-03 at 09:54:45 +0530, [email protected] wrote:
From: nakshtra goyal <[email protected]>
Change in
igt_assert_ffunction parameters so that it also validate for property value equals to 0.Cc Himal Prasad Ghimiray <[email protected]>Cc Janga Rahul Kumar <[email protected]>Cc Priyanka Dandamudi <[email protected]>Signed-off-by nakshtra goyal <[email protected]>--- tests/intel/xe_sysfs_defaults.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)tests/intel/xe_sysfs_defaults.c +0
-0
tests/intel/xe_sysfs_defaults.c static void test_defaults(int xe, int engine, const char **property) · line 45
Quoted 6 lines
tests/intel/xe_sysfs_defaults.c +1
-2@@ -42,8 +42,8 @@ static void test_defaults(int xe, int engine, const char **property)igt_debug ("Checking attr '%s'\n" , de->d_name); -igt_assert_f (property_value =igt_sysfs_get_u64 (defaults, de->d_name), -"Default value %s is not present!\n" , de->d_name); + property_value =igt_sysfs_get_u64 (defaults, de->d_name);
This could assert at lib, why not using:
bool __igt_sysfs_get_u64(int dir, const char *attr, uint64_t *value);
Also, type for 'int property_value;' should be uint64_t, not int.
Regards,
Kamil
Quoted 7 lines
tests/intel/xe_sysfs_defaults.c +1
-0+igt_assert_f (property_value >=0 ,"Default value %s is not present!\n" , de->d_name);igt_debug ("Default property:%s, value:%d\n" , de->d_name, property_value);Signature · 1 line
2.34.1
Hi Nakshtra,
On 2024-04-03 at 09:54:45 +0530, [email protected] wrote:
One more nit, see below.
Quoted 1 line
From: nakshtra goyal <[email protected]>
--------^ ------ ^
Quoted 8 lines
Change in
igt_assert_ffunction parameters so that it also validate for property value equals to 0.Cc Himal Prasad Ghimiray <[email protected]>Cc Janga Rahul Kumar <[email protected]>Cc Priyanka Dandamudi <[email protected]>Signed-off-by nakshtra goyal <[email protected]>
---------------- ^ ------ ^
All this should start from capital letters:
Nakshtra Goyal <[email protected]>
Regards,
Kamil
Quoted 22 lines
--- tests/intel/xe_sysfs_defaults.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)tests/intel/xe_sysfs_defaults.c +2
-2@@ -42,8 +42,8 @@ static void test_defaults(int xe, int engine, const char **property)igt_debug ("Checking attr '%s'\n" , de->d_name); -igt_assert_f (property_value =igt_sysfs_get_u64 (defaults, de->d_name), -"Default value %s is not present!\n" , de->d_name); + property_value =igt_sysfs_get_u64 (defaults, de->d_name); +igt_assert_f (property_value >=0 ,"Default value %s is not present!\n" , de->d_name);igt_debug ("Default property:%s, value:%d\n" , de->d_name, property_value);Signature · 1 line
2.34.1