drm/i915/scaler: Fix condition for WA_14011503117
Subsystems (3)
A message that is not in the archive (sent off-list or not yet received): 20250806101930.2969802-1
PATCH 1/1 drm/i915/scaler: Fix condition for WA_14011503117
Add a check statement to check the scaler_id, if less than 0 then return.
v2: Add scaler_id check [Jani]
v3: Modify commit message[Suraj]
--- drivers/gpu/drm/i915/display/skl_scaler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/display/skl_scaler.c +1 -1
@@ -960,7 +960,7 @@ void adl_scaler_ecc_unmask(const struct intel_crtc_state *crtc_state)const struct intel_crtc_scaler_state *scaler_state = &crtc_state->scaler_state; -if (!scaler_state && scaler_state->scaler_id ==-1 ) +if (scaler_state->scaler_id <0 )return ; intel_de_write_fw(display,
Signature · 1 line
2.25.1
Quoted 3 lines
Subject: [PATCH] drm/i915/scaler: Fix condition for
WA_14011503117Add a check statement to check the
scaler_id, if less than 0 then return.
The description should tell is why is does this need to be fixed, Also you are not adding a check statement rather modifying it. So something like "scaler_state can never being null making the current condition for null check being useless. Remove that and while at it Change the scaler_id to check if its less than 0"
Otherwise LGTM,
Quoted 27 lines
v2: Add
scaler_idcheck [Jani]
v3: Modify commit message[Suraj]Fixes 73309ed9d598 ("drm/i915/display: WA_14011503117")Signed-off-by Nemesa Garg <[email protected]>--- drivers/gpu/drm/i915/display/skl_scaler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/display/skl_scaler.c +1
-1@@ -960,7 +960,7 @@ void adl_scaler_ecc_unmask(const struct intel_crtc_state *crtc_state)const struct intel_crtc_scaler_state *scaler_state = &crtc_state->scaler_state; -if (!scaler_state && scaler_state->scaler_id ==-1 ) +if (scaler_state->scaler_id <0 )return ;intel_de_write_fw(display,
--
2.25.1
Patchwork
CI✗ i915.CI.BAT: failure for drm/i915/scaler: Fix condition for WA_14011503117
In reply to a message not in the archive== Series Details ==
== Series Details ==
Series: drm/i915/scaler: Fix condition for WA_14011503117
URL : https://patchwork.freedesktop.org/series/152620/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_16965 -> Patchwork_152620v1
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_152620v1 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_152620v1, 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/Patchwork_152620v1/index.html
Participating hosts (45 -> 43)
------------------------------
Missing (2): fi-snb-2520m bat-adls-6
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_152620v1:
### IGT changes ###
#### Possible regressions ####
* igt@i915_module_load@reload:
- fi-bsw-nick: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16965/fi-bsw-nick/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152620v1/fi-bsw-nick/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_152620v1 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_module_load@load:
- bat-mtlp-9: [PASS][3] -> [DMESG-WARN][4] ([i915#13494])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16965/bat-mtlp-9/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152620v1/bat-mtlp-9/igt@[email protected]
* igt@i915_selftest@live:
- bat-jsl-1: [PASS][5] -> [DMESG-WARN][6] ([i915#13827]) +1 other test dmesg-warn
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16965/bat-jsl-1/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152620v1/bat-jsl-1/igt@[email protected]
* igt@i915_selftest@live@workarounds:
- bat-mtlp-9: [PASS][7] -> [DMESG-FAIL][8] ([i915#12061]) +1 other test dmesg-fail
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16965/bat-mtlp-9/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152620v1/bat-mtlp-9/igt@i915_selftest@[email protected]
#### Possible fixes ####
* igt@dmabuf@all-tests:
- bat-apl-1: [ABORT][9] ([i915#12904]) -> [PASS][10] +1 other test pass
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16965/bat-apl-1/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152620v1/bat-apl-1/igt@[email protected]
* igt@i915_selftest@live@workarounds:
- bat-dg2-11: [DMESG-FAIL][11] ([i915#12061]) -> [PASS][12] +1 other test pass
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_16965/bat-dg2-11/igt@i915_selftest@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152620v1/bat-dg2-11/igt@i915_selftest@[email protected]
[i915#12061]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12061
[i915#12904]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12904
[i915#13494]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13494
[i915#13827]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/13827
Build changes
-------------
* Linux: CI_DRM_16965 -> Patchwork_152620v1
CI-20190529: 20190529
CI_DRM_16965: e75fad13646be2a02f21a8e9d438b3150108950d @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_8488: c4a9bee161f4bb74cbbf81c73b24c416ecf93976 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_152620v1: e75fad13646be2a02f21a8e9d438b3150108950d @ git://anongit.freedesktop.org/gfx-ci/linux
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_152620v1/index.html