drm/i915/xe2lpd: WA for underruns during FBC enable
Subsystems (3)
v2 cover drm/i915/xe2lpd: WA for underruns during FBC enable
Update the FBC enabling sequence. The plane binding register bits need to programmed before fbe enable bit.
v2: update the patch subject and description as this underrun is not
tied to PSR. FIFO underruns are observed when FBC is enabled on plane other than the primary.
Vinod Govindapillai (1):
drm/i915/xe2lpd: implement WA for underruns while enabling FBC
drivers/gpu/drm/i915/display/intel_fbc.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
Signature · 1 line
2.34.1
PATCH v2 1/1 drm/i915/xe2lpd: implement WA for underruns while enabling FBC
Because of HW bug, the FBC enabling sequence need to be updated. The plane binding registrer need to be updated before programming the FBC enable bit.
--- drivers/gpu/drm/i915/display/intel_fbc.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
drivers/gpu/drm/i915/display/intel_fbc.c +11 -1
@@ -608,6 +608,7 @@ static u32 ivb_dpfc_ctl(struct intel_fbc *fbc)static void ivb_fbc_activate (struct intel_fbc *fbc) {struct drm_i915_private *i915 = fbc->i915; +u32 dpfc_ctl;if (DISPLAY_VER (i915) >=10 )glk_fbc_program_cfb_stride (fbc);
@@ -617,8 +618,17 @@ static void ivb_fbc_activate(struct intel_fbc *fbc)if (intel_gt_support_legacy_fencing (to_gt (i915)))snb_fbc_program_fence (fbc); +/* +* Alternate WA for HW bug with PSR2 + FBC. +* 1.Write FBC_CTL with Plane binding set correctly with FBC enable = 0 +* 2.Write FBC_CTL with Plane binding set correctly with FBC enable = 1 +*/ + dpfc_ctl =ivb_dpfc_ctl (fbc); +if (DISPLAY_VER (i915) >=20 ) +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id), dpfc_ctl); +intel_de_write (i915,ILK_DPFC_CONTROL (fbc->id), -DPFC_CTL_EN |ivb_dpfc_ctl (fbc)); +DPFC_CTL_EN | dpfc_ctl); }static bool ivb_fbc_is_compressing (struct intel_fbc *fbc)
Signature · 1 line
2.34.1
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/xe2lpd: WA for underruns during FBC enable
In reply to Vinod Govindapillai== Series Details ==
== Series Details ==
Series: drm/i915/xe2lpd: WA for underruns during FBC enable
URL : https://patchwork.freedesktop.org/series/126143/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_13849 -> Patchwork_126143v1
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_126143v1 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in Patchwork_126143v1, 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_126143v1/index.html
Participating hosts (34 -> 33)
------------------------------
Additional (1): bat-mtlp-8
Missing (2): bat-dg2-9 fi-pnv-d510
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_126143v1:
### IGT changes ###
#### Possible regressions ####
* igt@kms_force_connector_basic@force-connector-state:
- bat-rpls-1: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13849/bat-rpls-1/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-rpls-1/igt@[email protected]
Known issues
------------
Here are the changes found in Patchwork_126143v1 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/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- fi-cfl-guc: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#4613]) +3 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/fi-cfl-guc/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][5] ([i915#4613]) +3 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-6/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [SKIP][6] ([i915#4613]) +3 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
* igt@gem_mmap@basic:
- bat-mtlp-8: NOTRUN -> [SKIP][7] ([i915#4083])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
* igt@gem_mmap_gtt@basic:
- bat-mtlp-8: NOTRUN -> [SKIP][8] ([i915#4077]) +3 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
* igt@gem_render_tiled_blits@basic:
- bat-mtlp-8: NOTRUN -> [SKIP][9] ([i915#4079]) +1 other test skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
* igt@i915_pm_rps@basic-api:
- bat-mtlp-8: NOTRUN -> [SKIP][10] ([i915#6621])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][11] ([i915#6621])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-6/igt@[email protected]
* igt@i915_suspend@basic-s3-without-i915:
- bat-mtlp-6: NOTRUN -> [SKIP][12] ([i915#6645])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-6/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [SKIP][13] ([i915#6645])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][14] ([i915#5190])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][15] ([i915#4212]) +8 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][16] ([i915#4213]) +1 other test skip
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-mtlp-8: NOTRUN -> [SKIP][17] ([i915#3555] / [i915#3840] / [i915#9159])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-mtlp-6: NOTRUN -> [SKIP][18] ([fdo#109285])
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-6/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [SKIP][19] ([fdo#109285])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
* igt@kms_force_connector_basic@prune-stale-modes:
- bat-mtlp-8: NOTRUN -> [SKIP][20] ([i915#5274])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][21] ([i915#5274])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-6/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- bat-mtlp-6: NOTRUN -> [SKIP][22] ([i915#4342])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-6/igt@[email protected]
* igt@kms_pipe_crc_basic@hang-read-crc:
- bat-mtlp-6: NOTRUN -> [SKIP][23] ([i915#1845]) +2 other tests skip
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-6/igt@[email protected]
* igt@kms_pipe_crc_basic@suspend-read-crc:
- bat-mtlp-6: NOTRUN -> [SKIP][24] ([i915#1845] / [i915#4078]) +4 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-6/igt@[email protected]
* igt@kms_psr@cursor_plane_move:
- bat-mtlp-6: NOTRUN -> [SKIP][25] ([i915#1072]) +3 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-6/igt@kms_psr@cursor_plane_move.html
* igt@kms_setmode@basic-clone-single-crtc:
- bat-mtlp-8: NOTRUN -> [SKIP][26] ([i915#3555] / [i915#8809])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
- bat-mtlp-6: NOTRUN -> [SKIP][27] ([i915#3555] / [i915#8809])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-6/igt@[email protected]
* igt@prime_vgem@basic-fence-flip:
- bat-mtlp-6: NOTRUN -> [SKIP][28] ([i915#1845] / [i915#3708])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-6/igt@[email protected]
* igt@prime_vgem@basic-fence-mmap:
- bat-mtlp-6: NOTRUN -> [SKIP][29] ([i915#3708] / [i915#4077]) +1 other test skip
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-6/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [SKIP][30] ([i915#3708] / [i915#4077]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
* igt@prime_vgem@basic-fence-read:
- bat-mtlp-8: NOTRUN -> [SKIP][31] ([i915#3708]) +2 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-8/igt@[email protected]
* igt@prime_vgem@basic-write:
- bat-mtlp-6: NOTRUN -> [SKIP][32] ([i915#3708]) +2 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-mtlp-6/igt@[email protected]
#### Possible fixes ####
* igt@kms_frontbuffer_tracking@basic:
- fi-bsw-nick: [FAIL][33] ([i915#9276]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13849/fi-bsw-nick/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/fi-bsw-nick/igt@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- fi-kbl-guc: [FAIL][35] ([IGT#3]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13849/fi-kbl-guc/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/fi-kbl-guc/igt@[email protected]
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-xr24@pipe-c-dp-5:
- bat-adlp-11: [DMESG-WARN][37] ([i915#4309]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13849/bat-adlp-11/igt@kms_pipe_crc_basic@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/bat-adlp-11/igt@kms_pipe_crc_basic@[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#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[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#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[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#4309]: https://gitlab.freedesktop.org/drm/intel/issues/4309
[i915#4342]: https://gitlab.freedesktop.org/drm/intel/issues/4342
[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#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6645]: https://gitlab.freedesktop.org/drm/intel/issues/6645
[i915#7359]: https://gitlab.freedesktop.org/drm/intel/issues/7359
[i915#8809]: https://gitlab.freedesktop.org/drm/intel/issues/8809
[i915#8981]: https://gitlab.freedesktop.org/drm/intel/issues/8981
[i915#9159]: https://gitlab.freedesktop.org/drm/intel/issues/9159
[i915#9276]: https://gitlab.freedesktop.org/drm/intel/issues/9276
[i915#9318]: https://gitlab.freedesktop.org/drm/intel/issues/9318
Build changes
-------------
* Linux: CI_DRM_13849 -> Patchwork_126143v1
CI-20190529: 20190529
CI_DRM_13849: 5fc1ded9dfbe67c3269e917a77007972cca80922 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_7576: d529fa7368a622634a9842a99df155cd10570446 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Patchwork_126143v1: 5fc1ded9dfbe67c3269e917a77007972cca80922 @ git://anongit.freedesktop.org/gfx-ci/linux
### Linux commits
f3a5c69db3dc drm/i915/xe2lpd: implement WA for underruns while enabling FBC
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_126143v1/index.html