drm: Skip drm_mode_config_validate() for !modeset
Subsystems (2)
PATCH 1/1 drm: Skip drm_mode_config_validate() for !modeset
From: Ville Syrjälä <[email protected]>
drm_mode_config_init() may not have been called when the driver/device doesn't support modeset. That will cause drm_mode_config_validate() to oops. Skip the validation for !modeset.
TODO: We may want to consider calling drm_mode_config_init() unconditionally to avoid similar issues elsewhere...
--- drivers/gpu/drm/drm_mode_config.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/drm_mode_config.c +3 -0
@@ -608,6 +608,9 @@ void drm_mode_config_validate(struct drm_device *dev) {struct drm_encoder *encoder; +if (!drm_core_check_feature (dev,DRIVER_MODESET )) +return ; +drm_for_each_encoder (encoder, dev)fixup_encoder_possible_clones (encoder);
Signature · 6 lines
2.24.1 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoting Ville Syrjala (2020-03-18 18:25:18)
Quoted 11 lines
From: Ville Syrjälä <[email protected]>
drm_mode_config_init()may not have been called when the driver/device doesn't support modeset. That will causedrm_mode_config_validate()to oops. Skip the validation for !modeset.TODO: We may want to consider calling
drm_mode_config_init()unconditionally to avoid similar issues elsewhere...Fixes 74d2aacbe840 ("drm: Validate encoder->possible_clones")Signed-off-by Ville Syrjälä <[email protected]>
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 7 lines · Chris Wilson
Quoting Ville Syrjala (2020-03-18 18:25:18)
Quoted 6 lines
From: Ville Syrjälä <[email protected]>
drm_mode_config_init()may not have been called when the driver/device doesn't support modeset. That will causedrm_mode_config_validate()to oops. Skip the validation for !modeset.
Quoted 6 lines
Quoted 5 lines
TODO: We may want to consider calling
drm_mode_config_init()unconditionally to avoid similar issues elsewhere...Fixes 74d2aacbe840 ("drm: Validate encoder->possible_clones")Signed-off-by Ville Syrjälä <[email protected]>Reviewed-by Chris Wilson <[email protected]>
Thanks. Looks like this gets BAT up and running again so pushing w/o waiting for shards.
Sorry about the mess everyone. CI had turned a blind eye on the regressing series and I didn't notice that fact. I need to adjust my brain regex to look for *all* CI mails, not just the failures.
Signature · 6 lines
Ville Syrjälä Intel _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patchwork
CI[Intel-gfx] ✗ Fi.CI.BAT: failure for drm: Skip drm_mode_config_validate() for !modeset
In reply to Ville Syrjala== Series Details ==
== Series Details ==
Series: drm: Skip drm_mode_config_validate() for !modeset
URL : https://patchwork.freedesktop.org/series/74843/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_8152 -> Patchwork_17012
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with Patchwork_17012 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes introduced in Patchwork_17012, please notify your bug team 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_17012/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in Patchwork_17012:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@gt_timelines:
- fi-bwr-2160: NOTRUN -> [INCOMPLETE][1]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-bwr-2160/igt@i915_selftest@live@gt_timelines.html
Known issues
------------
Here are the changes found in Patchwork_17012 that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@gem_exec_fence@basic-busy@rcs0:
- fi-blb-e6850: [DMESG-WARN][2] -> [PASS][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-blb-e6850/igt@gem_exec_fence@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-blb-e6850/igt@gem_exec_fence@[email protected]
- fi-pnv-d510: [DMESG-WARN][4] -> [PASS][5]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-pnv-d510/igt@gem_exec_fence@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-pnv-d510/igt@gem_exec_fence@[email protected]
* igt@gem_exec_fence@basic-busy@vcs0:
- fi-ivb-3770: [DMESG-WARN][6] -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-ivb-3770/igt@gem_exec_fence@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-ivb-3770/igt@gem_exec_fence@[email protected]
- fi-elk-e7500: [DMESG-WARN][8] -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-elk-e7500/igt@gem_exec_fence@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-elk-e7500/igt@gem_exec_fence@[email protected]
- fi-ilk-650: [DMESG-WARN][10] -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-ilk-650/igt@gem_exec_fence@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-ilk-650/igt@gem_exec_fence@[email protected]
- fi-byt-j1900: [DMESG-WARN][12] -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-byt-j1900/igt@gem_exec_fence@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-byt-j1900/igt@gem_exec_fence@[email protected]
* igt@gem_exec_fence@basic-busy@vecs0:
- fi-apl-guc: [DMESG-WARN][14] -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-apl-guc/igt@gem_exec_fence@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-apl-guc/igt@gem_exec_fence@[email protected]
- {fi-tgl-u}: [DMESG-WARN][16] -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-tgl-u/igt@gem_exec_fence@[email protected]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-tgl-u/igt@gem_exec_fence@[email protected]
- fi-bxt-dsi: [DMESG-WARN][18] -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-bxt-dsi/igt@gem_exec_fence@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-bxt-dsi/igt@gem_exec_fence@[email protected]
- fi-skl-6700k2: [DMESG-WARN][20] -> [PASS][21]
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-skl-6700k2/igt@gem_exec_fence@[email protected]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-skl-6700k2/igt@gem_exec_fence@[email protected]
- fi-cfl-8700k: [DMESG-WARN][22] -> [PASS][23]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-cfl-8700k/igt@gem_exec_fence@[email protected]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-cfl-8700k/igt@gem_exec_fence@[email protected]
- fi-icl-guc: [DMESG-WARN][24] -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-icl-guc/igt@gem_exec_fence@[email protected]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-icl-guc/igt@gem_exec_fence@[email protected]
- {fi-ehl-1}: [DMESG-WARN][26] -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-ehl-1/igt@gem_exec_fence@[email protected]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-ehl-1/igt@gem_exec_fence@[email protected]
- fi-bsw-n3050: [DMESG-WARN][28] -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-bsw-n3050/igt@gem_exec_fence@[email protected]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-bsw-n3050/igt@gem_exec_fence@[email protected]
- fi-skl-lmem: [DMESG-WARN][30] -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-skl-lmem/igt@gem_exec_fence@[email protected]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-skl-lmem/igt@gem_exec_fence@[email protected]
- fi-kbl-soraka: [DMESG-WARN][32] -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-kbl-soraka/igt@gem_exec_fence@[email protected]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-kbl-soraka/igt@gem_exec_fence@[email protected]
- fi-cml-s: [DMESG-WARN][34] -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-cml-s/igt@gem_exec_fence@[email protected]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-cml-s/igt@gem_exec_fence@[email protected]
- fi-kbl-x1275: [DMESG-WARN][36] -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-kbl-x1275/igt@gem_exec_fence@[email protected]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-kbl-x1275/igt@gem_exec_fence@[email protected]
- fi-cfl-guc: [DMESG-WARN][38] -> [PASS][39]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-cfl-guc/igt@gem_exec_fence@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-cfl-guc/igt@gem_exec_fence@[email protected]
- fi-bsw-kefka: [DMESG-WARN][40] -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-bsw-kefka/igt@gem_exec_fence@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-bsw-kefka/igt@gem_exec_fence@[email protected]
- fi-glk-dsi: [DMESG-WARN][42] -> [PASS][43]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-glk-dsi/igt@gem_exec_fence@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-glk-dsi/igt@gem_exec_fence@[email protected]
- fi-kbl-8809g: [DMESG-WARN][44] -> [PASS][45]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-kbl-8809g/igt@gem_exec_fence@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-kbl-8809g/igt@gem_exec_fence@[email protected]
- fi-hsw-peppy: [DMESG-WARN][46] -> [PASS][47]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-hsw-peppy/igt@gem_exec_fence@[email protected]
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-hsw-peppy/igt@gem_exec_fence@[email protected]
- fi-kbl-r: [DMESG-WARN][48] -> [PASS][49]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-kbl-r/igt@gem_exec_fence@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-kbl-r/igt@gem_exec_fence@[email protected]
- fi-cfl-8109u: [DMESG-WARN][50] -> [PASS][51]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-cfl-8109u/igt@gem_exec_fence@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-cfl-8109u/igt@gem_exec_fence@[email protected]
- fi-icl-y: [DMESG-WARN][52] -> [PASS][53]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-icl-y/igt@gem_exec_fence@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-icl-y/igt@gem_exec_fence@[email protected]
- fi-kbl-guc: [DMESG-WARN][54] -> [PASS][55]
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-kbl-guc/igt@gem_exec_fence@[email protected]
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-kbl-guc/igt@gem_exec_fence@[email protected]
- fi-bsw-nick: [DMESG-WARN][56] -> [PASS][57]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-bsw-nick/igt@gem_exec_fence@[email protected]
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-bsw-nick/igt@gem_exec_fence@[email protected]
- fi-bdw-5557u: [DMESG-WARN][58] -> [PASS][59]
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-bdw-5557u/igt@gem_exec_fence@[email protected]
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-bdw-5557u/igt@gem_exec_fence@[email protected]
- fi-kbl-7500u: [DMESG-WARN][60] -> [PASS][61]
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-kbl-7500u/igt@gem_exec_fence@[email protected]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-kbl-7500u/igt@gem_exec_fence@[email protected]
- {fi-tgl-dsi}: [DMESG-WARN][62] -> [PASS][63]
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-tgl-dsi/igt@gem_exec_fence@[email protected]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-tgl-dsi/igt@gem_exec_fence@[email protected]
- {fi-kbl-7560u}: [DMESG-WARN][64] -> [PASS][65]
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-kbl-7560u/igt@gem_exec_fence@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-kbl-7560u/igt@gem_exec_fence@[email protected]
- fi-skl-guc: [DMESG-WARN][66] -> [PASS][67]
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-skl-guc/igt@gem_exec_fence@[email protected]
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-skl-guc/igt@gem_exec_fence@[email protected]
- fi-icl-dsi: [DMESG-WARN][68] -> [PASS][69]
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-icl-dsi/igt@gem_exec_fence@[email protected]
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-icl-dsi/igt@gem_exec_fence@[email protected]
#### Warnings ####
* igt@runner@aborted:
- fi-kbl-8809g: [FAIL][70] ([i915#997]) -> [FAIL][71] ([i915#1209])
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_8152/fi-kbl-8809g/igt@[email protected]
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/fi-kbl-8809g/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#1209]: https://gitlab.freedesktop.org/drm/intel/issues/1209
[i915#997]: https://gitlab.freedesktop.org/drm/intel/issues/997
Participating hosts (44 -> 41)
------------------------------
Additional (3): fi-cml-u2 fi-bwr-2160 fi-skl-6600u
Missing (6): fi-ilk-m540 fi-byt-squawks fi-bsw-cyan fi-ctg-p8600 fi-hsw-4770 fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_8152 -> Patchwork_17012
CI-20190529: 20190529
CI_DRM_8152: ce1895bf390da53060aa60a90367b706d92bf431 @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5522: bd2b01af69c9720d54e68a8702a23e4ff3637746 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_17012: 044186ca6b0d82cd0f2c0880da8a6f5e3e64adb5 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
044186ca6b0d drm: Skip drm_mode_config_validate() for !modeset
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_17012/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx