lib/intel_pat: Fix typo PAT_MODE -> PTA_MODE
PATCH 1/1 lib/intel_pat: Fix typo PAT_MODE -> PTA_MODE
PAT table contain PTA mode so fix PAT typo as parsing this line isn't working properly.
--- lib/intel_pat.c | 4 ++-- lib/intel_pat.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
lib/intel_pat.c +2 -2
@@ -64,10 +64,10 @@ int32_t xe_get_pat_sw_config(int drm_fd, struct intel_pat_cache *xe_pat_cache) }else {igt_warn ("Failed to parse PAT entry line: %s\n" , line); } - }else if (strncmp (line,"PAT_MODE" ,8 ) ==0 ) { + }else if (strncmp (line,"PTA_MODE" ,8 ) ==0 ) { p =strstr (line,"(" );if (p &&sscanf (p,"(%x" , &value) ==1 ) - xe_pat_cache->pat_mode = value; + xe_pat_cache->pta_mode = value; }else if (strncmp (line,"PAT_ATS" ,7 ) ==0 ) { p =strstr (line,"(" );if (p &&sscanf (p,"(%x" , &value) ==1 )
lib/intel_pat.h +1 -1
@@ -25,7 +25,7 @@ struct intel_pat_cache {uint8_t uc_comp;/* UC + COH_NONE + COMPRESSION, XE2 and later*/ uint8_t max_index;struct xe_pat_entry entries[XE_PAT_MAX_ENTRIES ]; -uint32_t pat_mode; +uint32_t pta_mode;uint32_t pat_ats; };
Signature · 1 line
2.43.0
Quoted 11 lines
-----Original Message-----
From: igt-dev <[email protected]> On Behalf Of Zbigniew Kempczyński
Sent: 25 March 2026 14:52
To: [email protected]
Cc: Kempczynski, Zbigniew <[email protected]>; Wang, X <[email protected]>
Subject: [PATCH i-g-t]lib/intel_pat: Fix typoPAT_MODE->PTA_MODE
Quoted 5 lines
PAT table contain PTA mode so fix PAT typo as parsing this line isn't working properly.
Signed-off-by Zbigniew Kempczyński <[email protected]>Cc Xin Wang <[email protected]>
Quoted 39 lines
--- lib/intel_pat.c | 4 ++-- lib/intel_pat.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)lib/intel_pat.c index 525d9ad24a..b202a62419 renamed from lib/intel_pat.c +0
-0100644
lib/intel_pat.c +2
-2@@ -64,10 +64,10 @@ int32_t xe_get_pat_sw_config(int drm_fd, struct intel_pat_cache *xe_pat_cache) }else {igt_warn ("Failed to parse PAT entry line: %s\n" , line); } - }else if (strncmp (line,"PAT_MODE" ,8 ) ==0 ) { + }else if (strncmp (line,"PTA_MODE" ,8 ) ==0 ) { p =strstr (line,"(" );if (p &&sscanf (p,"(%x" , &value) ==1 ) - xe_pat_cache->pat_mode = value; + xe_pat_cache->pta_mode = value; }else if (strncmp (line,"PAT_ATS" ,7 ) ==0 ) {lib/intel_pat.c +0
-0p =strstr (line,"(" ); if (p && sscanf(p, "(%x", &value) == 1) diff --git
a/lib/intel_pat.hb/lib/intel_pat.hindex e5dd8a0af7..1772785205 100644lib/intel_pat.h +0
-0@@ -25,7 +25,7 @@ struct intel_pat_cache {uint8_t uc_comp;/* UC + COH_NONE + COMPRESSION, XE2 and later*/
lib/intel_pat.h +1
-2uint8_t max_index;struct xe_pat_entry entries[XE_PAT_MAX_ENTRIES ]; -uint32_t pat_mode; +uint32_t pta_mode;uint32_t pat_ats; }; --2.43.0
Patchwork
CI✓ Xe.CI.BAT: success for lib/intel_pat: Fix typo PAT_MODE -> PTA_MODE
In reply to Zbigniew Kempczyński== Series Details ==
== Series Details ==
Series: lib/intel_pat: Fix typo PAT_MODE -> PTA_MODE
URL : https://patchwork.freedesktop.org/series/163832/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_8825_BAT -> XEIGTPW_14849_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (14 -> 14)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in XEIGTPW_14849_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_flip@basic-flip-vs-wf_vblank@c-edp1:
- bat-adlp-7: [PASS][1] -> [DMESG-WARN][2] ([Intel XE#7483])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8825/bat-adlp-7/igt@kms_flip@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14849/bat-adlp-7/igt@kms_flip@[email protected]
* igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit:
- bat-bmg-2: NOTRUN -> [SKIP][3] ([Intel XE#2229])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14849/bat-bmg-2/igt@xe_live_ktest@xe_bo@xe_ccs_migrate_kunit.html
* igt@xe_waitfence@abstime:
- bat-dg2-oem2: [PASS][4] -> [TIMEOUT][5] ([Intel XE#6506])
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8825/bat-dg2-oem2/igt@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14849/bat-dg2-oem2/igt@[email protected]
* igt@xe_waitfence@engine:
- bat-dg2-oem2: [PASS][6] -> [FAIL][7] ([Intel XE#6519])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8825/bat-dg2-oem2/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14849/bat-dg2-oem2/igt@[email protected]
* igt@xe_waitfence@reltime:
- bat-dg2-oem2: [PASS][8] -> [FAIL][9] ([Intel XE#6520])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8825/bat-dg2-oem2/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14849/bat-dg2-oem2/igt@[email protected]
#### Possible fixes ####
* igt@kms_flip@basic-flip-vs-wf_vblank@d-edp1:
- bat-adlp-7: [DMESG-WARN][10] ([Intel XE#7483]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8825/bat-adlp-7/igt@kms_flip@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14849/bat-adlp-7/igt@kms_flip@[email protected]
#### Warnings ####
* igt@core_hotunplug@unbind-rebind:
- bat-bmg-2: [ABORT][12] ([Intel XE#7249] / [Intel XE#7578]) -> [DMESG-WARN][13] ([Intel XE#7433])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8825/bat-bmg-2/igt@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14849/bat-bmg-2/igt@[email protected]
[Intel XE#2229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2229
[Intel XE#6506]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6506
[Intel XE#6519]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6519
[Intel XE#6520]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6520
[Intel XE#7249]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7249
[Intel XE#7433]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7433
[Intel XE#7483]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7483
[Intel XE#7578]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7578
Build changes
-------------
* IGT: IGT_8825 -> IGTPW_14849
* Linux: xe-4776-14e4110238694e33cbb1e4fc54d034cd5b45f3fe -> xe-4778-41579e12882a0a3b881bfade003fcb1fd39c347c
IGTPW_14849: 14849
IGT_8825: 531ebe0606453021b88f794aad255d9e1a234d3d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4776-14e4110238694e33cbb1e4fc54d034cd5b45f3fe: 14e4110238694e33cbb1e4fc54d034cd5b45f3fe xe-4778-41579e12882a0a3b881bfade003fcb1fd39c347c: 41579e12882a0a3b881bfade003fcb1fd39c347c
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14849/index.html
Patchwork
CI✗ i915.CI.BAT: failure for lib/intel_pat: Fix typo PAT_MODE -> PTA_MODE
In reply to Zbigniew Kempczyński== Series Details ==
== Series Details ==
Series: lib/intel_pat: Fix typo PAT_MODE -> PTA_MODE
URL : https://patchwork.freedesktop.org/series/163832/
State : failure
== Summary ==
CI Bug Log - changes from IGT_8825 -> IGTPW_14849
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_14849 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_14849, 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_14849/index.html
Participating hosts (40 -> 39)
------------------------------
Additional (1): fi-glk-j4005
Missing (2): bat-dg2-13 bat-mtlp-9
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_14849:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@reset:
- bat-arlh-3: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8825/bat-arlh-3/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14849/bat-arlh-3/igt@i915_selftest@[email protected]
Known issues
------------
Here are the changes found in IGTPW_14849 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_huc_copy@huc-copy:
- fi-glk-j4005: NOTRUN -> [SKIP][3] ([i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14849/fi-glk-j4005/igt@[email protected]
* igt@gem_lmem_swapping@parallel-random-engines:
- fi-glk-j4005: NOTRUN -> [SKIP][4] ([i915#4613]) +3 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14849/fi-glk-j4005/igt@[email protected]
* igt@i915_selftest@live:
- bat-arlh-3: [PASS][5] -> [INCOMPLETE][6] ([i915#15622])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8825/bat-arlh-3/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14849/bat-arlh-3/igt@[email protected]
- bat-adlp-6: [PASS][7] -> [DMESG-WARN][8] ([i915#14872]) +1 other test dmesg-warn
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8825/bat-adlp-6/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14849/bat-adlp-6/igt@[email protected]
* igt@kms_psr@psr-primary-page-flip:
- fi-glk-j4005: NOTRUN -> [SKIP][9] +12 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14849/fi-glk-j4005/igt@[email protected]
#### Possible fixes ####
* igt@i915_selftest@live:
- bat-mtlp-8: [DMESG-FAIL][10] ([i915#12061]) -> [PASS][11] +1 other test pass
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8825/bat-mtlp-8/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14849/bat-mtlp-8/igt@[email protected]
* igt@i915_selftest@live@workarounds:
- bat-arls-6: [DMESG-FAIL][12] ([i915#12061]) -> [PASS][13] +1 other test pass
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8825/bat-arls-6/igt@i915_selftest@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14849/bat-arls-6/igt@i915_selftest@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- fi-tgl-1115g4: [FAIL][14] ([i915#14867]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8825/fi-tgl-1115g4/igt@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14849/fi-tgl-1115g4/igt@[email protected]
[i915#12061]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12061
[i915#14867]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14867
[i915#14872]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/14872
[i915#15622]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15622
[i915#2190]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/2190
[i915#4613]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4613
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_8825 -> IGTPW_14849
* Linux: CI_DRM_18205 -> CI_DRM_18207
CI-20190529: 20190529
CI_DRM_18205: 14e4110238694e33cbb1e4fc54d034cd5b45f3fe @ git://anongit.freedesktop.org/gfx-ci/linux
CI_DRM_18207: 41579e12882a0a3b881bfade003fcb1fd39c347c @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_14849: 14849
IGT_8825: 531ebe0606453021b88f794aad255d9e1a234d3d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14849/index.html
Patchwork
CI✓ Xe.CI.FULL: success for lib/intel_pat: Fix typo PAT_MODE -> PTA_MODE
In reply to Zbigniew Kempczyński== Series Details ==
== Series Details ==
Series: lib/intel_pat: Fix typo PAT_MODE -> PTA_MODE
URL : https://patchwork.freedesktop.org/series/163832/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_8825_FULL -> XEIGTPW_14849_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in XEIGTPW_14849_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-lnl: [PASS][1] -> [FAIL][2] ([Intel XE#301]) +3 other tests fail
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8825/shard-lnl-5/igt@kms_flip@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14849/shard-lnl-4/igt@kms_flip@[email protected]
* igt@kms_pm_dc@dc5-psr:
- shard-lnl: [PASS][3] -> [FAIL][4] ([Intel XE#7340])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8825/shard-lnl-8/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14849/shard-lnl-2/igt@[email protected]
* igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-multi-vma:
- shard-lnl: [PASS][5] -> [FAIL][6] ([Intel XE#5625])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8825/shard-lnl-1/igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-multi-vma.html
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14849/shard-lnl-4/igt@xe_exec_system_allocator@pat-index-madvise-pat-idx-uc-multi-vma.html
#### Possible fixes ####
* igt@kms_vrr@cmrr@pipe-a-edp-1:
- shard-lnl: [FAIL][7] ([Intel XE#4459]) -> [PASS][8] +1 other test pass
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8825/shard-lnl-2/igt@kms_vrr@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14849/shard-lnl-6/igt@kms_vrr@[email protected]
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#4459]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4459
[Intel XE#5625]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5625
[Intel XE#7340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7340
Build changes
-------------
* IGT: IGT_8825 -> IGTPW_14849
* Linux: xe-4776-14e4110238694e33cbb1e4fc54d034cd5b45f3fe -> xe-4778-41579e12882a0a3b881bfade003fcb1fd39c347c
IGTPW_14849: 14849
IGT_8825: 531ebe0606453021b88f794aad255d9e1a234d3d @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4776-14e4110238694e33cbb1e4fc54d034cd5b45f3fe: 14e4110238694e33cbb1e4fc54d034cd5b45f3fe xe-4778-41579e12882a0a3b881bfade003fcb1fd39c347c: 41579e12882a0a3b881bfade003fcb1fd39c347c
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14849/index.html