drm/i915/guc: Properly capture & release GuC interrupts on Gen11+
Subsystems (2)
PATCH v2 1/1 drm/i915/guc: Properly capture & release GuC interrupts on Gen11+
With the new interrupt re-partitioning in Gen11, GuC controls by itself the interrupts it receives, so steering bits and registers have been defeatured. Being this the case, when the GuC is in control of submissions we won't know what to do with the ctx switch interrupt in the driver, so disable it.
v2 (Daniele): replace the gen9 paths instead of keeping gen9 and gen11 functions since we won't support guc submission on any pre-gen11 platform.
--- drivers/gpu/drm/i915/gt/intel_rps.c | 2 +- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 72 ++++--------------- 2 files changed, 14 insertions(+), 60 deletions(-)
drivers/gpu/drm/i915/gt/intel_rps.c +1 -1
@@ -1663,7 +1663,7 @@ void intel_rps_init(struct intel_rps *rps)if (INTEL_GEN (i915) <=7 ) rps->pm_intrmsk_mbz |=GEN6_PM_RP_UP_EI_EXPIRED ; -if (INTEL_GEN (i915) >=8 ) +if (INTEL_GEN (i915) >=8 &&INTEL_GEN (i915) <11 ) rps->pm_intrmsk_mbz |=GEN8_PMINTR_DISABLE_REDIRECT_TO_GUC ; }
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +13 -59
87 lines not on this page · raw message
Signature · 6 lines
2.23.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for drm/i915/guc: Properly capture & release GuC interrupts on Gen11+
== Series Details ==
== Series Details ==
Series: drm/i915/guc: Properly capture & release GuC interrupts on Gen11+
URL : https://patchwork.freedesktop.org/series/69019/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7264 -> Patchwork_15139
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/index.html
Known issues
------------
Here are the changes found in Patchwork_15139 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_render_tiled_blits@basic:
- fi-icl-u3: [PASS][1] -> [DMESG-WARN][2] ([fdo#107724])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/fi-icl-u3/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/fi-icl-u3/igt@[email protected]
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-kbl-7500u: [PASS][3] -> [FAIL][4] ([fdo#111407])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/fi-kbl-7500u/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/fi-kbl-7500u/igt@[email protected]
#### Possible fixes ####
* igt@gem_mmap_gtt@basic-write-cpu-read-gtt:
- fi-icl-u3: [DMESG-WARN][5] ([fdo#107724]) -> [PASS][6] +1 similar issue
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/fi-icl-u3/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/fi-icl-u3/igt@[email protected]
* igt@i915_module_load@reload:
- {fi-icl-dsi}: [INCOMPLETE][7] ([fdo#107713]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/fi-icl-dsi/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/fi-icl-dsi/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#111407]: https://bugs.freedesktop.org/show_bug.cgi?id=111407
Participating hosts (51 -> 42)
------------------------------
Missing (9): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-bwr-2160 fi-ctg-p8600 fi-gdg-551 fi-byt-clapper fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_7264 -> Patchwork_15139
CI-20190529: 20190529
CI_DRM_7264: f5cfd96ad87b58bf3b5dfa5365f8beb8bac15a38 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5263: 8a5d44dc5e51622cd43f23c2cf24d44c24a0564d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_15139: f9e8ec8f527086bd21447559c42b68808b941a9c @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
f9e8ec8f5270 drm/i915/guc: Properly capture & release GuC interrupts on Gen11+
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.IGT: success for drm/i915/guc: Properly capture & release GuC interrupts on Gen11+
In reply to Daniele Ceraolo Spurio== Series Details ==
== Series Details ==
Series: drm/i915/guc: Properly capture & release GuC interrupts on Gen11+
URL : https://patchwork.freedesktop.org/series/69019/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_7264_full -> Patchwork_15139_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_15139_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_ctx_isolation@vcs0-s3:
- shard-skl: [PASS][1] -> [INCOMPLETE][2] ([fdo#104108]) +1 similar issue
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-skl7/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-skl2/igt@[email protected]
* igt@gem_ctx_isolation@vcs1-clean:
- shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#109276] / [fdo#112080])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb4/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb7/igt@[email protected]
* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [PASS][5] -> [SKIP][6] ([fdo#110841])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb5/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb4/igt@[email protected]
* igt@gem_exec_parallel@vcs1-fds:
- shard-iclb: [PASS][7] -> [SKIP][8] ([fdo#112080]) +12 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb1/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb8/igt@[email protected]
* igt@gem_exec_schedule@preempt-bsd:
- shard-iclb: [PASS][9] -> [SKIP][10] ([fdo#112146]) +2 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb5/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb4/igt@[email protected]
* igt@gem_exec_schedule@preempt-contexts-bsd2:
- shard-iclb: [PASS][11] -> [SKIP][12] ([fdo#109276]) +18 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb1/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb8/igt@[email protected]
* igt@gem_userptr_blits@map-fixed-invalidate-busy:
- shard-hsw: [PASS][13] -> [DMESG-WARN][14] ([fdo#111870])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-hsw4/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-hsw8/igt@[email protected]
* igt@gem_workarounds@suspend-resume:
- shard-apl: [PASS][15] -> [DMESG-WARN][16] ([fdo#108566]) +2 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-apl6/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-apl4/igt@[email protected]
* igt@i915_selftest@mock_requests:
- shard-glk: [PASS][17] -> [INCOMPLETE][18] ([fdo#103359] / [k.org#198133])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-glk9/igt@i915_selftest@mock_requests.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-glk7/igt@i915_selftest@mock_requests.html
* igt@kms_cursor_legacy@2x-long-flip-vs-cursor-atomic:
- shard-glk: [PASS][19] -> [FAIL][20] ([fdo#104873])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-glk8/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-glk2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw:
- shard-iclb: [PASS][21] -> [FAIL][22] ([fdo#103167]) +7 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb3/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb1/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-suspend:
- shard-kbl: [PASS][23] -> [DMESG-WARN][24] ([fdo#108566]) +7 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-kbl2/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-kbl7/igt@[email protected]
- shard-iclb: [PASS][25] -> [INCOMPLETE][26] ([fdo#107713])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb2/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb6/igt@[email protected]
* igt@kms_psr@psr2_dpms:
- shard-iclb: [PASS][27] -> [SKIP][28] ([fdo#109441])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb2/igt@kms_psr@psr2_dpms.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb6/igt@kms_psr@psr2_dpms.html
* igt@kms_setmode@basic:
- shard-apl: [PASS][29] -> [FAIL][30] ([fdo#99912])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-apl1/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-apl2/igt@[email protected]
#### Possible fixes ####
* {igt@gem_ctx_persistence@vcs1-queued}:
- shard-iclb: [SKIP][31] ([fdo#109276] / [fdo#112080]) -> [PASS][32] +3 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb6/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb2/igt@[email protected]
* igt@gem_ctx_switch@vcs1-heavy:
- shard-iclb: [SKIP][33] ([fdo#112080]) -> [PASS][34] +12 similar issues
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb3/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb1/igt@[email protected]
* igt@gem_exec_gttfill@basic:
- {shard-tglb}: [INCOMPLETE][35] ([fdo#111593]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-tglb4/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-tglb5/igt@[email protected]
* igt@gem_exec_schedule@preempt-queue-bsd1:
- shard-iclb: [SKIP][37] ([fdo#109276]) -> [PASS][38] +15 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb6/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb2/igt@[email protected]
* igt@gem_exec_schedule@preemptive-hang-bsd:
- shard-iclb: [SKIP][39] ([fdo#112146]) -> [PASS][40] +6 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb2/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb6/igt@[email protected]
* igt@gem_exec_schedule@smoketest-all:
- {shard-tglb}: [INCOMPLETE][41] ([fdo#111855]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-tglb3/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-tglb4/igt@[email protected]
* {igt@gem_exec_suspend@basic-s0}:
- {shard-tglb}: [INCOMPLETE][43] ([fdo#111832]) -> [PASS][44]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-tglb1/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-tglb9/igt@[email protected]
* igt@gem_persistent_relocs@forked-interruptible-thrashing:
- shard-hsw: [FAIL][45] ([fdo#112037]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-hsw8/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-hsw2/igt@[email protected]
* igt@gem_userptr_blits@map-fixed-invalidate-overlap-busy-gup:
- shard-hsw: [DMESG-WARN][47] ([fdo#111870]) -> [PASS][48] +1 similar issue
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-hsw4/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-hsw6/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-apl: [DMESG-WARN][49] ([fdo#108566]) -> [PASS][50] +2 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-apl4/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-apl1/igt@[email protected]
* {igt@i915_pm_dc@dc6-dpms}:
- shard-iclb: [FAIL][51] ([fdo#110548]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb3/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb1/igt@[email protected]
* {igt@i915_selftest@live_gt_timelines}:
- {shard-tglb}: [INCOMPLETE][53] ([fdo#111831]) -> [PASS][54]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-tglb6/igt@i915_selftest@live_gt_timelines.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-tglb8/igt@i915_selftest@live_gt_timelines.html
* igt@i915_suspend@fence-restore-tiled2untiled:
- {shard-tglb}: [INCOMPLETE][55] ([fdo#111832] / [fdo#111850]) -> [PASS][56] +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-tglb7/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-tglb9/igt@[email protected]
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-kbl: [DMESG-WARN][57] ([fdo#108566]) -> [PASS][58] +3 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-kbl4/igt@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-kbl3/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank:
- shard-skl: [FAIL][59] ([fdo#105363]) -> [PASS][60] +1 similar issue
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-skl10/igt@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-skl3/igt@[email protected]
* igt@kms_flip@plain-flip-fb-recreate:
- shard-skl: [FAIL][61] ([fdo#100368]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-skl9/igt@[email protected]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-skl10/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-pwrite:
- shard-iclb: [FAIL][63] ([fdo#103167]) -> [PASS][64] +3 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-pwrite.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-pwrite.html
* igt@kms_frontbuffer_tracking@fbc-stridechange:
- {shard-tglb}: [FAIL][65] ([fdo#103167]) -> [PASS][66] +3 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-tglb7/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-tglb9/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-suspend:
- {shard-tglb}: [INCOMPLETE][67] ([fdo#111832] / [fdo#111850] / [fdo#111884]) -> [PASS][68]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-tglb3/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-tglb5/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:
- shard-skl: [FAIL][69] ([fdo#108145]) -> [PASS][70]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-skl3/igt@[email protected]
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-skl5/igt@[email protected]
* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [SKIP][71] ([fdo#109642] / [fdo#111068]) -> [PASS][72]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb7/igt@[email protected]
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb2/igt@[email protected]
* igt@kms_psr@no_drrs:
- shard-iclb: [FAIL][73] ([fdo#108341]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb1/igt@kms_psr@no_drrs.html
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb3/igt@kms_psr@no_drrs.html
* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-iclb: [SKIP][75] ([fdo#109441]) -> [PASS][76] +1 similar issue
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb4/igt@kms_psr@psr2_sprite_mmap_gtt.html
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html
* igt@kms_setmode@basic:
- shard-kbl: [FAIL][77] ([fdo#99912]) -> [PASS][78]
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-kbl2/igt@[email protected]
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-kbl6/igt@[email protected]
* igt@perf@gen8-unprivileged-single-ctx-counters:
- shard-skl: [TIMEOUT][79] ([fdo#111732 ]) -> [PASS][80]
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-skl7/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-skl1/igt@[email protected]
* igt@tools_test@tools_test:
- shard-snb: [SKIP][81] ([fdo#109271]) -> [PASS][82]
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-snb5/igt@tools_test@tools_test.html
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-snb5/igt@tools_test@tools_test.html
#### Warnings ####
* igt@gem_ctx_isolation@vcs1-nonpriv:
- shard-iclb: [FAIL][83] ([fdo#111329]) -> [SKIP][84] ([fdo#109276] / [fdo#112080])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb4/igt@[email protected]
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb7/igt@[email protected]
* igt@gem_mocs_settings@mocs-reset-bsd2:
- shard-iclb: [SKIP][85] ([fdo#109276]) -> [FAIL][86] ([fdo#111330]) +2 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_7264/shard-iclb7/igt@[email protected]
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/shard-iclb2/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo# 112000 ]: https://bugs.freedesktop.org/show_bug.cgi?id= 112000 [fdo#100368]: https://bugs.freedesktop.org/show_bug.cgi?id=100368
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103359]: https://bugs.freedesktop.org/show_bug.cgi?id=103359
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#104873]: https://bugs.freedesktop.org/show_bug.cgi?id=104873
[fdo#105363]: https://bugs.freedesktop.org/show_bug.cgi?id=105363
[fdo#105411]: https://bugs.freedesktop.org/show_bug.cgi?id=105411
[fdo#107713]: https://bugs.freedesktop.org/show_bug.cgi?id=107713
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[fdo#108341]: https://bugs.freedesktop.org/show_bug.cgi?id=108341
[fdo#108566]: https://bugs.freedesktop.org/show_bug.cgi?id=108566
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109276]: https://bugs.freedesktop.org/show_bug.cgi?id=109276
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110548]: https://bugs.freedesktop.org/show_bug.cgi?id=110548
[fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111329]: https://bugs.freedesktop.org/show_bug.cgi?id=111329
[fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
[fdo#111593]: https://bugs.freedesktop.org/show_bug.cgi?id=111593
[fdo#111646]: https://bugs.freedesktop.org/show_bug.cgi?id=111646
[fdo#111671]: https://bugs.freedesktop.org/show_bug.cgi?id=111671
[fdo#111732 ]: https://bugs.freedesktop.org/show_bug.cgi?id=111732
[fdo#111735]: https://bugs.freedesktop.org/show_bug.cgi?id=111735
[fdo#111747]: https://bugs.freedesktop.org/show_bug.cgi?id=111747
[fdo#111781]: https://bugs.freedesktop.org/show_bug.cgi?id=111781
[fdo#111831]: https://bugs.freedesktop.org/show_bug.cgi?id=111831
[fdo#111832]: https://bugs.freedesktop.org/show_bug.cgi?id=111832
[fdo#111850]: https://bugs.freedesktop.org/show_bug.cgi?id=111850
[fdo#111855]: https://bugs.freedesktop.org/show_bug.cgi?id=111855
[fdo#111870]: https://bugs.freedesktop.org/show_bug.cgi?id=111870
[fdo#111884]: https://bugs.freedesktop.org/show_bug.cgi?id=111884
[fdo#112016 ]: https://bugs.freedesktop.org/show_bug.cgi?id=112016
[fdo#112021 ]: https://bugs.freedesktop.org/show_bug.cgi?id=112021
[fdo#112037]: https://bugs.freedesktop.org/show_bug.cgi?id=112037
[fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080
[fdo#112146]: https://bugs.freedesktop.org/show_bug.cgi?id=112146
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
[k.org#198133]: https://bugzilla.kernel.org/show_bug.cgi?id=198133
Participating hosts (11 -> 11)
------------------------------
No changes in participating hosts
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_7264 -> Patchwork_15139
CI-20190529: 20190529
CI_DRM_7264: f5cfd96ad87b58bf3b5dfa5365f8beb8bac15a38 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5263: 8a5d44dc5e51622cd43f23c2cf24d44c24a0564d @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_15139: f9e8ec8f527086bd21447559c42b68808b941a9c @ git://anongit.freedesktop.org/gfx-ci/linux
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_15139/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 6 lines · Daniele Ceraolo Spurio
With the new interrupt re-partitioning in Gen11, GuC controls by itself the interrupts it receives, so steering bits and registers have been defeatured. Being this the case, when the GuC is in control of submissions we won't know what to do with the ctx switch interrupt in the driver, so disable it.
Quoted 8 lines
v2 (Daniele): replace the gen9 paths instead of keeping gen9 and gen11 functions since we won't support guc submission on any pre-gen11 platform.
Signed-off-by Oscar Mateo <[email protected]>Signed-off-by Michal Wajdeczko <[email protected]>Signed-off-by Daniele Ceraolo Spurio <[email protected]>Cc John Harrison <[email protected]>Cc Matthew Brost <[email protected]>
Quoted 100 lines
--- drivers/gpu/drm/i915/gt/intel_rps.c | 2 +- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 72 ++++--------------- 2 files changed, 14 insertions(+), 60 deletions(-)drivers/gpu/drm/i915/gt/intel_rps.c +1
-1@@ -1663,7 +1663,7 @@ void intel_rps_init(struct intel_rps *rps)if (INTEL_GEN (i915) <=7 ) rps->pm_intrmsk_mbz |=GEN6_PM_RP_UP_EI_EXPIRED ; -if (INTEL_GEN (i915) >=8 ) +if (INTEL_GEN (i915) >=8 &&INTEL_GEN (i915) <11 ) rps->pm_intrmsk_mbz |=GEN8_PMINTR_DISABLE_REDIRECT_TO_GUC ; }drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +8
-57@@ -1011,74 +1011,28 @@ void intel_guc_submission_fini(struct intel_guc *guc)static void guc_interrupts_capture (struct intel_gt *gt) { -struct intel_rps *rps = >->rps;struct intel_uncore *uncore = gt->uncore; -struct intel_engine_cs *engine; -enum intel_engine_id id; -int irqs; +u32 irqs =GT_CONTEXT_SWITCH_INTERRUPT ; +u32 dmask = irqs <<16 | irqs; -/* tell all command streamers to forward interrupts (but not vblank) -* to GuC -*/ - irqs =_MASKED_BIT_ENABLE (GFX_INTERRUPT_STEERING ); -for_each_engine (engine, gt, id) -ENGINE_WRITE (engine,RING_MODE_GEN7 , irqs); - -/* route USER_INTERRUPT to Host, all others are sent to GuC. */ - irqs =GT_RENDER_USER_INTERRUPT <<GEN8_RCS_IRQ_SHIFT | -GT_RENDER_USER_INTERRUPT <<GEN8_BCS_IRQ_SHIFT ; -/* These three registers have the same bit definitions */ -intel_uncore_write (uncore,GUC_BCS_RCS_IER , ~irqs); -intel_uncore_write (uncore,GUC_VCS2_VCS1_IER , ~irqs); -intel_uncore_write (uncore,GUC_WD_VECS_IER , ~irqs); +GEM_BUG_ON (INTEL_GEN (gt->i915) <11 ); -/* -* The REDIRECT_TO_GUC bit of the PMINTRMSK register directs all -* (unmasked) PM interrupts to the GuC. All other bits of this -* register *disable* generation of a specific interrupt. -* -* 'pm_intrmsk_mbz' indicates bits that are NOT to be set when -* writing to the PM interrupt mask register, i.e. interrupts -* that must not be disabled. -* -* If the GuC is handling these interrupts, then we must not let -* the PM code disable ANY interrupt that the GuC is expecting. -* So for each ENABLED (0) bit in this register, we must SET the -* bit in pm_intrmsk_mbz so that it's left enabled for the GuC. -* GuC needs ARAT expired interrupt unmasked hence it is set in -* pm_intrmsk_mbz. -* -* Here we CLEAR REDIRECT_TO_GUC bit in pm_intrmsk_mbz, which will -* result in the register bit being left SET! -*/ - rps->pm_intrmsk_mbz |=ARAT_EXPIRED_INTRMSK ; - rps->pm_intrmsk_mbz &= ~GEN8_PMINTR_DISABLE_REDIRECT_TO_GUC ; +/* Don't handle the ctx switch interrupt in GuC submission mode */ +intel_uncore_rmw (uncore,GEN11_RENDER_COPY_INTR_ENABLE , dmask,0 ); +intel_uncore_rmw (uncore,GEN11_VCS_VECS_INTR_ENABLE , dmask,0 ); }static void guc_interrupts_release (struct intel_gt *gt) { -struct intel_rps *rps = >->rps;struct intel_uncore *uncore = gt->uncore; -struct intel_engine_cs *engine; -enum intel_engine_id id; -int irqs; +u32 irqs =GT_CONTEXT_SWITCH_INTERRUPT ; +u32 dmask = irqs <<16 | irqs; -/* -* tell all command streamers NOT to forward interrupts or vblank -* to GuC. -*/ - irqs =_MASKED_FIELD (GFX_FORWARD_VBLANK_MASK ,GFX_FORWARD_VBLANK_NEVER ); - irqs |=_MASKED_BIT_DISABLE (GFX_INTERRUPT_STEERING ); -for_each_engine (engine, gt, id) -ENGINE_WRITE (engine,RING_MODE_GEN7 , irqs); - -/* route all GT interrupts to the host */ -intel_uncore_write (uncore,GUC_BCS_RCS_IER ,0 ); -intel_uncore_write (uncore,GUC_VCS2_VCS1_IER ,0 ); -intel_uncore_write (uncore,GUC_WD_VECS_IER ,0 ); -
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c void intel_guc_submission_fini(struct intel_guc *guc) · line 1038
Quoted 10 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +5
-2- rps->pm_intrmsk_mbz |=GEN8_PMINTR_DISABLE_REDIRECT_TO_GUC ; - rps->pm_intrmsk_mbz &= ~ARAT_EXPIRED_INTRMSK ; +GEM_BUG_ON (INTEL_GEN (gt->i915) <11 ); + +/* Handle ctx switch interrupts again */ +intel_uncore_rmw (uncore,GEN11_RENDER_COPY_INTR_ENABLE ,0 , dmask); +intel_uncore_rmw (uncore,GEN11_VCS_VECS_INTR_ENABLE ,0 , dmask); }static void guc_set_default_submission (struct intel_engine_cs *engine)
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 24 lines · Daniele Ceraolo Spurio
With the new interrupt re-partitioning in Gen11, GuC controls by itself the interrupts it receives, so steering bits and registers have been defeatured. Being this the case, when the GuC is in control of submissions we won't know what to do with the ctx switch interrupt in the driver, so disable it.
v2 (Daniele): replace the gen9 paths instead of keeping gen9 and gen11 functions since we won't support guc submission on any pre-gen11 platform.
Signed-off-by Oscar Mateo <[email protected]>Signed-off-by Michal Wajdeczko <[email protected]>Signed-off-by Daniele Ceraolo Spurio <[email protected]>Cc John Harrison <[email protected]>Cc Matthew Brost <[email protected]>--- drivers/gpu/drm/i915/gt/intel_rps.c | 2 +- .../gpu/drm/i915/gt/uc/intel_guc_submission.c | 72 ++++--------------- 2 files changed, 14 insertions(+), 60 deletions(-)drivers/gpu/drm/i915/gt/intel_rps.c +0
-0
drivers/gpu/drm/i915/gt/intel_rps.c void intel_rps_init(struct intel_rps *rps) · line 1666
Quoted 5 lines
drivers/gpu/drm/i915/gt/intel_rps.c +1
-1@@ -1663,7 +1663,7 @@ void intel_rps_init(struct intel_rps *rps)if (INTEL_GEN (i915) <=7 ) rps->pm_intrmsk_mbz |=GEN6_PM_RP_UP_EI_EXPIRED ; -if (INTEL_GEN (i915) >=8 ) +if (INTEL_GEN (i915) >=8 &&INTEL_GEN (i915) <11 )
Or IS_GEN_RANGE(8, 10), if you want.
Regards,
Tvrtko
Quoted 86 lines
drivers/gpu/drm/i915/gt/intel_rps.c +0
-0rps->pm_intrmsk_mbz |=GEN8_PMINTR_DISABLE_REDIRECT_TO_GUC ; }drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +8
-57@@ -1011,74 +1011,28 @@ void intel_guc_submission_fini(struct intel_guc *guc)static void guc_interrupts_capture (struct intel_gt *gt) { -struct intel_rps *rps = >->rps;struct intel_uncore *uncore = gt->uncore; -struct intel_engine_cs *engine; -enum intel_engine_id id; -int irqs; +u32 irqs =GT_CONTEXT_SWITCH_INTERRUPT ; +u32 dmask = irqs <<16 | irqs; -/* tell all command streamers to forward interrupts (but not vblank) -* to GuC -*/ - irqs =_MASKED_BIT_ENABLE (GFX_INTERRUPT_STEERING ); -for_each_engine (engine, gt, id) -ENGINE_WRITE (engine,RING_MODE_GEN7 , irqs); - -/* route USER_INTERRUPT to Host, all others are sent to GuC. */ - irqs =GT_RENDER_USER_INTERRUPT <<GEN8_RCS_IRQ_SHIFT | -GT_RENDER_USER_INTERRUPT <<GEN8_BCS_IRQ_SHIFT ; -/* These three registers have the same bit definitions */ -intel_uncore_write (uncore,GUC_BCS_RCS_IER , ~irqs); -intel_uncore_write (uncore,GUC_VCS2_VCS1_IER , ~irqs); -intel_uncore_write (uncore,GUC_WD_VECS_IER , ~irqs); +GEM_BUG_ON (INTEL_GEN (gt->i915) <11 ); -/* -* The REDIRECT_TO_GUC bit of the PMINTRMSK register directs all -* (unmasked) PM interrupts to the GuC. All other bits of this -* register *disable* generation of a specific interrupt. -* -* 'pm_intrmsk_mbz' indicates bits that are NOT to be set when -* writing to the PM interrupt mask register, i.e. interrupts -* that must not be disabled. -* -* If the GuC is handling these interrupts, then we must not let -* the PM code disable ANY interrupt that the GuC is expecting. -* So for each ENABLED (0) bit in this register, we must SET the -* bit in pm_intrmsk_mbz so that it's left enabled for the GuC. -* GuC needs ARAT expired interrupt unmasked hence it is set in -* pm_intrmsk_mbz. -* -* Here we CLEAR REDIRECT_TO_GUC bit in pm_intrmsk_mbz, which will -* result in the register bit being left SET! -*/ - rps->pm_intrmsk_mbz |=ARAT_EXPIRED_INTRMSK ; - rps->pm_intrmsk_mbz &= ~GEN8_PMINTR_DISABLE_REDIRECT_TO_GUC ; +/* Don't handle the ctx switch interrupt in GuC submission mode */ +intel_uncore_rmw (uncore,GEN11_RENDER_COPY_INTR_ENABLE , dmask,0 ); +intel_uncore_rmw (uncore,GEN11_VCS_VECS_INTR_ENABLE , dmask,0 ); }static void guc_interrupts_release (struct intel_gt *gt) { -struct intel_rps *rps = >->rps;struct intel_uncore *uncore = gt->uncore; -struct intel_engine_cs *engine; -enum intel_engine_id id; -int irqs; +u32 irqs =GT_CONTEXT_SWITCH_INTERRUPT ; +u32 dmask = irqs <<16 | irqs; -/* -* tell all command streamers NOT to forward interrupts or vblank -* to GuC. -*/ - irqs =_MASKED_FIELD (GFX_FORWARD_VBLANK_MASK ,GFX_FORWARD_VBLANK_NEVER ); - irqs |=_MASKED_BIT_DISABLE (GFX_INTERRUPT_STEERING ); -for_each_engine (engine, gt, id) -ENGINE_WRITE (engine,RING_MODE_GEN7 , irqs); - -/* route all GT interrupts to the host */ -intel_uncore_write (uncore,GUC_BCS_RCS_IER ,0 ); -intel_uncore_write (uncore,GUC_VCS2_VCS1_IER ,0 ); -intel_uncore_write (uncore,GUC_WD_VECS_IER ,0 ); -
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c void intel_guc_submission_fini(struct intel_guc *guc) · line 1038
Quoted 10 lines
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c +5
-2- rps->pm_intrmsk_mbz |=GEN8_PMINTR_DISABLE_REDIRECT_TO_GUC ; - rps->pm_intrmsk_mbz &= ~ARAT_EXPIRED_INTRMSK ; +GEM_BUG_ON (INTEL_GEN (gt->i915) <11 ); + +/* Handle ctx switch interrupts again */ +intel_uncore_rmw (uncore,GEN11_RENDER_COPY_INTR_ENABLE ,0 , dmask); +intel_uncore_rmw (uncore,GEN11_VCS_VECS_INTR_ENABLE ,0 , dmask); }static void guc_set_default_submission (struct intel_engine_cs *engine)
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx