drm/kms: Duct-tape for mode object lifetime checks
Subsystems (3)
PATCH 1/2 drm/kms: Duct-tape for mode object lifetime checks
commit 4f5368b5541a902f6596558b05f5c21a9770dd32
Author: Daniel Vetter <[email protected]> Date: Fri Jun 14 08:17:23 2019 +0200
drm/kms: Catch mode_object lifetime errors
uncovered a bit a mess in dp drivers. Most drivers (from a quick look, all except i915) register all the dp stuff in their init code, which is too early. With CONFIG_DRM_DP_AUX_CHARDEV this will blow up, because drm_dp_aux_register tries to add a child to a device in sysfs (the connector) which doesn't even exist yet.
No one seems to have cared thus far. But with the above change I also moved the setting of dev->registered after the ->load callback, in an attempt to keep old drivers from hitting any WARN_ON backtraces. But that moved radeon.ko from the "working, by accident" to "now also broken" category.
Since this is a huge mess I figured a revert would be simplest. But this check has already caught issues in i915:
commit 1b9bd09630d4db4827cc04d358a41a16a6bc2cb0
Author: Ville Syrjälä <[email protected]> Date: Tue Aug 20 19:16:57 2019 +0300
drm/i915: Do not create a new max_bpc prop for MST connectors
Hence I'd like to retain it. Fix the radeon regression by moving the setting of dev->registered back to were it was, and stop the backtraces with an explicit check for dev->driver->load.
Everyone else will stay as broken with CONFIG_DRM_DP_AUX_CHARDEV. The next patch will improve the kerneldoc and add a todo entry for this.
--- drivers/gpu/drm/drm_drv.c | 4 ++-- drivers/gpu/drm/drm_mode_object.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
drivers/gpu/drm/drm_drv.c +2 -2
@@ -983,14 +983,14 @@ int drm_dev_register(struct drm_device *dev, unsigned long flags)if (ret) goto err_minors; + dev->registered = true; +if (dev->driver->load) { ret = dev->driver->load (dev, flags);if (ret) goto err_minors; } - dev->registered = true; -if (drm_core_check_feature (dev,DRIVER_MODESET ))drm_modeset_register_all (dev);
drivers/gpu/drm/drm_mode_object.c +2 -2
@@ -42,7 +42,7 @@ int __drm_mode_object_add(struct drm_device *dev, struct drm_mode_object *obj, {int ret; -WARN_ON (dev->registered && !obj_free_cb); +WARN_ON (!dev->driver->load && dev->registered && !obj_free_cb);mutex_lock (&dev->mode_config.idr_mutex); ret = idr_alloc(&dev->mode_config.object_idr, register_obj ? obj : NULL,
@@ -104,7 +104,7 @@ void drm_mode_object_register(struct drm_device *dev,void drm_mode_object_unregister (struct drm_device *dev,struct drm_mode_object *object) { -WARN_ON (dev->registered && !object->free_cb); +WARN_ON (!dev->driver->load && dev->registered && !object->free_cb);mutex_lock (&dev->mode_config.idr_mutex);if (object->id) {
Signature · 6 lines
2.23.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
PATCH 2/2 drm/doc: Improve docs around connector (un)registration
Current code is quite a mess unfortunately, so also add a todo.rst entry to maybe fix it up eventually.
--- Documentation/gpu/todo.rst | 12 ++++++++++++ drivers/gpu/drm/drm_connector.c | 10 ++++++++-- drivers/gpu/drm/drm_dp_helper.c | 8 ++++++++ 3 files changed, 28 insertions(+), 2 deletions(-)
Documentation/gpu/todo.rst +12 -0
@@ -284,6 +284,18 @@ drm_fb_helper tasks removed: drm_fb_helper_single_add_all_connectors(), drm_fb_helper_add_one_connector() and drm_fb_helper_remove_one_connector(). +connector register/unregister fixes +----------------------------------- + +- For most connectors it's a no-op to call drm_connector_register/unregister + directly from driver code, drm_dev_register/unregister take care of this + already. We can remove all of them. + +- For dp drivers it's a bit more a mess, since we need the connector to be + registered when calling drm_dp_aux_register. Fix this by instead calling + drm_dp_aux_init, and moving the actual registering into a late_register + callback as recommended in the kerneldoc. + Core refactorings =================
drivers/gpu/drm/drm_connector.c +8 -2
@@ -480,7 +480,10 @@ EXPORT_SYMBOL(drm_connector_cleanup);* drm_connector_register - register a connector * @connector: the connector to register * -* Register userspace interfaces for a connector +* Register userspace interfaces for a connector. Only call this for connectors +* which can be hotplugged after drm_dev_register() has been called already, +* e.g. DP MST connectors. All other connectors will be registered automatically +* when calling drm_dev_register(). * * Returns: * Zero on success, error code on failure.
@@ -526,7 +529,10 @@ EXPORT_SYMBOL(drm_connector_register);* drm_connector_unregister - unregister a connector * @connector: the connector to unregister * -* Unregister userspace interfaces for a connector +* Unregister userspace interfaces for a connector. Only call this for +* connectors which have registered explicitly by calling drm_dev_register(), +* since connectors are unregistered automatically when drm_dev_unregister() is +* called. */ void drm_connector_unregister (struct drm_connector *connector) {
drivers/gpu/drm/drm_dp_helper.c +8 -0
@@ -1109,6 +1109,14 @@ EXPORT_SYMBOL(drm_dp_aux_init);* @aux: DisplayPort AUX channel * * Automatically calls drm_dp_aux_init() if this hasn't been done yet. +* This should only be called when the underlying &struct drm_connector is +* initialiazed already. Therefore the best place to call this is from +* &drm_connector_funcs.late_register. Not that drivers which don't follow this +* will Oops when CONFIG_DRM_DP_AUX_CHARDEV is enabled. +* +* Drivers which need to use the aux channel before that point (e.g. at driver +* load time, before drm_dev_register() has been called) need to call +* drm_dp_aux_init(). * * Returns 0 on success or a negative error code on failure. */
Signature · 6 lines
2.23.0 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 2/2] drm/doc: Improve docs around connector (un)registration
Quoted 92 lines · Daniel Vetter
Current code is quite a mess unfortunately, so also add a
todo.rstentry to maybe fix it up eventually.Cc Michel Dänzer <[email protected]>Signed-off-by Daniel Vetter <[email protected]>--- Documentation/gpu/todo.rst | 12 ++++++++++++ drivers/gpu/drm/drm_connector.c | 10 ++++++++-- drivers/gpu/drm/drm_dp_helper.c | 8 ++++++++ 3 files changed, 28 insertions(+), 2 deletions(-)Documentation/gpu/todo.rst +0
-0@@ -284,6 +284,18 @@ drm_fb_helper tasks removed: drm_fb_helper_single_add_all_connectors(), drm_fb_helper_add_one_connector() and
drm_fb_helper_remove_one_connector().Documentation/gpu/todo.rst +4
-0+connector register/unregister fixes +----------------------------------- + +- For most connectors it's a no-op to calldrm_connector_register/unregister
Documentation/gpu/todo.rst +8
-0+ directly from driver code, drm_dev_register/unregister take care of this + already. We can remove all of them. + +- For dp drivers it's a bit more a mess, since we need the connector to be + registered when calling drm_dp_aux_register. Fix this by instead calling + drm_dp_aux_init, and moving the actual registering into a late_register + callback as recommended in the kerneldoc. + Core refactorings =================drivers/gpu/drm/drm_connector.c +1
-1@@ -480,7 +480,10 @@ EXPORT_SYMBOL(drm_connector_cleanup);* drm_connector_register - register a connector * @connector: the connector to register * -* Register userspace interfaces for a connector +* Register userspace interfaces for a connector. Only call this for connectors
+ * which can be hotplugged afterdrm_dev_register()has been called already,
+ * e.g. DP MST connectors. All other connectors will be registered automatically
+ * when callingdrm_dev_register().
*
* Returns:
* Zero on success, error code on failure.drivers/gpu/drm/drm_connector.c +3
-1@@ -526,7 +529,10 @@ EXPORT_SYMBOL(drm_connector_register);* drm_connector_unregister - unregister a connector * @connector: the connector to unregister * -* Unregister userspace interfaces for a connector +* Unregister userspace interfaces for a connector. Only call this for +* connectors which have registered explicitly by calling drm_dev_register(), +* since connectors are unregistered automatically when
drm_dev_unregister()is
+ * called.
*/
voiddrm_connector_unregister(struct drm_connector *connector){drivers/gpu/drm/drm_dp_helper.c +3
-0@@ -1109,6 +1109,14 @@ EXPORT_SYMBOL(drm_dp_aux_init);* @aux: DisplayPort AUX channel * * Automatically calls drm_dp_aux_init() if this hasn't been done yet. +* This should only be called when the underlying &struct drm_connector is +* initialiazed already. Therefore the best place to call this is from +* &drm_connector_funcs.late_register. Not that drivers which don't follow this
+ * will Oops whenCONFIG_DRM_DP_AUX_CHARDEVis enabled.
+ *
+ * Drivers which need to use the aux channel before that point (e.g. at driver
+ * load time, beforedrm_dev_register()has been called) need to call
+ *drm_dp_aux_init().
*
* Returns 0 on success or a negative error code on failure. */
Signature · 7 lines
Cheers, Lyude Paul _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Re: [PATCH 2/2] drm/doc: Improve docs around connector (un)registration
Quoted 1 line · Lyude Paul
Reviewed-by Lyude Paul <[email protected]>
Thanks for taking a look, pushed to drm-misc-next. -Daniel
Quoted 98 lines · Daniel Vetter
Quoted 92 lines
Current code is quite a mess unfortunately, so also add a
todo.rstentry to maybe fix it up eventually.Cc Michel Dänzer <[email protected]>Signed-off-by Daniel Vetter <[email protected]>--- Documentation/gpu/todo.rst | 12 ++++++++++++ drivers/gpu/drm/drm_connector.c | 10 ++++++++-- drivers/gpu/drm/drm_dp_helper.c | 8 ++++++++ 3 files changed, 28 insertions(+), 2 deletions(-)Documentation/gpu/todo.rst +0
-0@@ -284,6 +284,18 @@ drm_fb_helper tasks removed: drm_fb_helper_single_add_all_connectors(), drm_fb_helper_add_one_connector() and
drm_fb_helper_remove_one_connector().Documentation/gpu/todo.rst +4
-0+connector register/unregister fixes +----------------------------------- + +- For most connectors it's a no-op to calldrm_connector_register/unregister
Documentation/gpu/todo.rst +8
-0+ directly from driver code, drm_dev_register/unregister take care of this + already. We can remove all of them. + +- For dp drivers it's a bit more a mess, since we need the connector to be + registered when calling drm_dp_aux_register. Fix this by instead calling + drm_dp_aux_init, and moving the actual registering into a late_register + callback as recommended in the kerneldoc. + Core refactorings =================drivers/gpu/drm/drm_connector.c +1
-1@@ -480,7 +480,10 @@ EXPORT_SYMBOL(drm_connector_cleanup);* drm_connector_register - register a connector * @connector: the connector to register * -* Register userspace interfaces for a connector +* Register userspace interfaces for a connector. Only call this for connectors
+ * which can be hotplugged afterdrm_dev_register()has been called already,
+ * e.g. DP MST connectors. All other connectors will be registered automatically
+ * when callingdrm_dev_register().
*
* Returns:
* Zero on success, error code on failure.drivers/gpu/drm/drm_connector.c +3
-1@@ -526,7 +529,10 @@ EXPORT_SYMBOL(drm_connector_register);* drm_connector_unregister - unregister a connector * @connector: the connector to unregister * -* Unregister userspace interfaces for a connector +* Unregister userspace interfaces for a connector. Only call this for +* connectors which have registered explicitly by calling drm_dev_register(), +* since connectors are unregistered automatically when
drm_dev_unregister()is
+ * called.
*/
voiddrm_connector_unregister(struct drm_connector *connector){drivers/gpu/drm/drm_dp_helper.c +3
-0@@ -1109,6 +1109,14 @@ EXPORT_SYMBOL(drm_dp_aux_init);* @aux: DisplayPort AUX channel * * Automatically calls drm_dp_aux_init() if this hasn't been done yet. +* This should only be called when the underlying &struct drm_connector is +* initialiazed already. Therefore the best place to call this is from +* &drm_connector_funcs.late_register. Not that drivers which don't follow this
+ * will Oops whenCONFIG_DRM_DP_AUX_CHARDEVis enabled.
+ *
+ * Drivers which need to use the aux channel before that point (e.g. at driver
+ * load time, beforedrm_dev_register()has been called) need to call
+ *drm_dp_aux_init().
*
* Returns 0 on success or a negative error code on failure. */Signature · 2 lines
Cheers, Lyude Paul
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✗ Fi.CI.CHECKPATCH: warning for series starting with [1/2] drm/kms: Duct-tape for mode object lifetime checks
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/kms: Duct-tape for mode object lifetime checks
URL : https://patchwork.freedesktop.org/series/66812/
State : warning
== Summary ==
$ dim checkpatch origin/drm-tip
ae5a3497bdd7 drm/kms: Duct-tape for mode object lifetime checks
-:9: ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 4f5368b5541a ("drm/kms: Catch mode_object lifetime errors")'
#9:
commit 4f5368b5541a902f6596558b05f5c21a9770dd32-:30: ERROR:GIT_COMMIT_ID: Please use git commit description style 'commit <12+ chars of sha1> ("<title line>")' - ie: 'commit 1b9bd09630d4 ("drm/i915: Do not create a new max_bpc prop for MST connectors")' #30:
commit 1b9bd09630d4db4827cc04d358a41a16a6bc2cb0
-:92: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 2 errors, 1 warnings, 0 checks, 32 lines checkedb54d85a3890c drm/doc: Improve docs around connector (un)registration
-:84: WARNING:NO_AUTHOR_SIGN_OFF: Missing Signed-off-by: line by nominal patch author 'Daniel Vetter <[email protected]>'
total: 0 errors, 1 warnings, 0 checks, 54 lines checked
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Patchwork
CI✓ Fi.CI.BAT: success for series starting with [1/2] drm/kms: Duct-tape for mode object lifetime checks
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/kms: Duct-tape for mode object lifetime checks
URL : https://patchwork.freedesktop.org/series/66812/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6908 -> Patchwork_14429
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/
Known issues
------------
Here are the changes found in Patchwork_14429 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live_execlists:
- fi-skl-gvtdvm: [PASS][1] -> [DMESG-FAIL][2] ([fdo#111108])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/fi-skl-gvtdvm/igt@i915_selftest@live_execlists.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/fi-skl-gvtdvm/igt@i915_selftest@live_execlists.html
* igt@kms_chamelium@hdmi-edid-read:
- fi-icl-u2: [PASS][3] -> [FAIL][4] ([fdo#109483])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/fi-icl-u2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/fi-icl-u2/igt@[email protected]
* igt@kms_frontbuffer_tracking@basic:
- fi-icl-u2: [PASS][5] -> [FAIL][6] ([fdo#103167])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/fi-icl-u2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/fi-icl-u2/igt@[email protected]
* igt@prime_busy@basic-wait-after-default:
- fi-icl-u3: [PASS][7] -> [DMESG-WARN][8] ([fdo#107724]) +2 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/fi-icl-u3/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/fi-icl-u3/igt@[email protected]
#### Possible fixes ####
* igt@gem_exec_fence@nb-await-default:
- {fi-tgl-u}: [WARN][9] ([fdo#111597]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/fi-tgl-u/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/fi-tgl-u/igt@[email protected]
* igt@gem_flink_basic@double-flink:
- fi-icl-u3: [DMESG-WARN][11] ([fdo#107724]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/fi-icl-u3/igt@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/fi-icl-u3/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#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#105602]: https://bugs.freedesktop.org/show_bug.cgi?id=105602
[fdo#107724]: https://bugs.freedesktop.org/show_bug.cgi?id=107724
[fdo#109483]: https://bugs.freedesktop.org/show_bug.cgi?id=109483
[fdo#111045]: https://bugs.freedesktop.org/show_bug.cgi?id=111045
[fdo#111108]: https://bugs.freedesktop.org/show_bug.cgi?id=111108
[fdo#111597]: https://bugs.freedesktop.org/show_bug.cgi?id=111597
Participating hosts (55 -> 47)
------------------------------
Missing (8): fi-ilk-m540 fi-hsw-4200u fi-byt-squawks fi-bsw-cyan fi-icl-y fi-bdw-samus fi-byt-clapper fi-skl-6700k2
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_6908 -> Patchwork_14429
CI-20190529: 20190529
CI_DRM_6908: c09b47830224c06546b73417085f7c6880a3995a @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5188: 933b84d5585698e15542ea1c5627d5d8d63ce230 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_14429: b54d85a3890c61287745d72ef52f6ca4075564d5 @ git://anongit.freedesktop.org/gfx-ci/linux
== Linux commits ==
b54d85a3890c drm/doc: Improve docs around connector (un)registration ae5a3497bdd7 drm/kms: Duct-tape for mode object lifetime checks
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/index.html
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 34 lines · Daniel Vetter
commit
4f5368b5541a902f6596558b05f5c21a9770dd32Author: Daniel Vetter <[email protected]> Date: Fri Jun 14 08:17:23 2019 +0200drm/kms: Catch
mode_objectlifetime errorsuncovered a bit a mess in dp drivers. Most drivers (from a quick look, all except i915) register all the dp stuff in their init code, which is too early. With
CONFIG_DRM_DP_AUX_CHARDEVthis will blow up, becausedrm_dp_aux_registertries to add a child to a device in sysfs (the connector) which doesn't even exist yet.No one seems to have cared thus far. But with the above change I also moved the setting of
dev->registeredafter the ->load callback, in an attempt to keep old drivers from hitting anyWARN_ONbacktraces. But that moved radeon.ko from the "working, by accident" to "now also broken" category.Since this is a huge mess I figured a revert would be simplest. But this check has already caught issues in i915:
commit
1b9bd09630d4db4827cc04d358a41a16a6bc2cb0Author: Ville Syrjälä <[email protected]> Date: Tue Aug 20 19:16:57 2019 +0300drm/i915: Do not create a new
max_bpcprop for MST connectorsHence I'd like to retain it. Fix the radeon regression by moving the setting of
dev->registeredback to were it was, and stop the backtraces with an explicit check fordev->driver->load.Everyone else will stay as broken with
CONFIG_DRM_DP_AUX_CHARDEV. The next patch will improve the kerneldoc and add a todo entry for this.
Quoted 6 lines
Fixes 4f5368b5541a ("drm/kms: Catch mode_object lifetime errors")Cc Sean Paul <[email protected]>Cc Maarten Lankhorst <[email protected]>Reported-by Michel Dänzer <[email protected]>Cc Michel Dänzer <[email protected]>Signed-off-by Daniel Vetter <[email protected]>
Thanks!
Signature · 6 lines
Earthling Michel Dänzer | https://redhat.com Libre software enthusiast | Mesa and X developer _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 42 lines · Michel Dänzer
Quoted 34 lines · Daniel Vetter
commit
4f5368b5541a902f6596558b05f5c21a9770dd32Author: Daniel Vetter <[email protected]> Date: Fri Jun 14 08:17:23 2019 +0200drm/kms: Catch
mode_objectlifetime errorsuncovered a bit a mess in dp drivers. Most drivers (from a quick look, all except i915) register all the dp stuff in their init code, which is too early. With
CONFIG_DRM_DP_AUX_CHARDEVthis will blow up, becausedrm_dp_aux_registertries to add a child to a device in sysfs (the connector) which doesn't even exist yet.No one seems to have cared thus far. But with the above change I also moved the setting of
dev->registeredafter the ->load callback, in an attempt to keep old drivers from hitting anyWARN_ONbacktraces. But that moved radeon.ko from the "working, by accident" to "now also broken" category.Since this is a huge mess I figured a revert would be simplest. But this check has already caught issues in i915:
commit
1b9bd09630d4db4827cc04d358a41a16a6bc2cb0Author: Ville Syrjälä <[email protected]> Date: Tue Aug 20 19:16:57 2019 +0300drm/i915: Do not create a new
max_bpcprop for MST connectorsHence I'd like to retain it. Fix the radeon regression by moving the setting of
dev->registeredback to were it was, and stop the backtraces with an explicit check fordev->driver->load.Everyone else will stay as broken with
CONFIG_DRM_DP_AUX_CHARDEV. The next patch will improve the kerneldoc and add a todo entry for this.Quoted 6 lines
Fixes 4f5368b5541a ("drm/kms: Catch mode_object lifetime errors")Cc Sean Paul <[email protected]>Cc Maarten Lankhorst <[email protected]>Reported-by Michel Dänzer <[email protected]>Cc Michel Dänzer <[email protected]>Signed-off-by Daniel Vetter <[email protected]>
Quoted 2 lines
Reviewed-by Michel Dänzer <[email protected]>Tested-by Michel Dänzer <[email protected]>
Thanks, merged into drm-misc-next-fixes.
-Daniel
Signature · 7 lines
Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Patchwork
CI✓ Fi.CI.IGT: success for series starting with [1/2] drm/kms: Duct-tape for mode object lifetime checks
In reply to Daniel Vetter== Series Details ==
== Series Details ==
Series: series starting with [1/2] drm/kms: Duct-tape for mode object lifetime checks
URL : https://patchwork.freedesktop.org/series/66812/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_6908_full -> Patchwork_14429_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Known issues
------------
Here are the changes found in Patchwork_14429_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_balancer@smoke:
- shard-iclb: [PASS][1] -> [SKIP][2] ([fdo#110854])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-iclb2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-iclb6/igt@[email protected]
* igt@gem_exec_schedule@preempt-contexts-bsd2:
- shard-iclb: [PASS][3] -> [SKIP][4] ([fdo#109276]) +11 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-iclb2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-iclb6/igt@[email protected]
* igt@gem_exec_schedule@wide-bsd:
- shard-iclb: [PASS][5] -> [SKIP][6] ([fdo#111325]) +4 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-iclb8/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-iclb2/igt@[email protected]
* igt@gem_workarounds@suspend-resume-context:
- shard-skl: [PASS][7] -> [INCOMPLETE][8] ([fdo#104108]) +1 similar issue
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-skl6/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-skl8/igt@[email protected]
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-apl: [PASS][9] -> [DMESG-WARN][10] ([fdo#108566]) +4 similar issues
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-apl7/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-apl6/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt:
- shard-iclb: [PASS][11] -> [FAIL][12] ([fdo#103167]) +5 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-iclb3/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-iclb7/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-move:
- shard-skl: [PASS][13] -> [FAIL][14] ([fdo#103167])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-skl3/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-skl7/igt@[email protected]
* igt@kms_plane_alpha_blend@pipe-c-constant-alpha-min:
- shard-skl: [PASS][15] -> [FAIL][16] ([fdo#108145])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-skl2/igt@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-skl4/igt@[email protected]
* igt@kms_psr2_su@frontbuffer:
- shard-iclb: [PASS][17] -> [SKIP][18] ([fdo#109642] / [fdo#111068])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-iclb2/igt@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-iclb3/igt@[email protected]
* igt@kms_psr@psr2_primary_mmap_cpu:
- shard-iclb: [PASS][19] -> [SKIP][20] ([fdo#109441]) +4 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-iclb2/igt@kms_psr@psr2_primary_mmap_cpu.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-iclb7/igt@kms_psr@psr2_primary_mmap_cpu.html
* igt@kms_setmode@basic:
- shard-hsw: [PASS][21] -> [FAIL][22] ([fdo#99912])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-hsw5/igt@[email protected]
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-hsw5/igt@[email protected]
* igt@tools_test@tools_test:
- shard-kbl: [PASS][23] -> [SKIP][24] ([fdo#109271])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-kbl3/igt@tools_test@tools_test.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-kbl6/igt@tools_test@tools_test.html
#### Possible fixes ####
* igt@gem_ctx_shared@exec-single-timeline-bsd:
- shard-iclb: [SKIP][25] ([fdo#110841]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-iclb4/igt@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-iclb5/igt@[email protected]
* igt@gem_exec_schedule@preempt-queue-chain-bsd:
- shard-iclb: [SKIP][27] ([fdo#111325]) -> [PASS][28] +1 similar issue
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-iclb2/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-iclb7/igt@[email protected]
* igt@i915_suspend@fence-restore-tiled2untiled:
- shard-apl: [DMESG-WARN][29] ([fdo#108566]) -> [PASS][30] +4 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-apl3/igt@[email protected]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-apl3/igt@[email protected]
* igt@kms_color@pipe-b-legacy-gamma:
- shard-skl: [FAIL][31] ([fdo#104782]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-skl7/igt@[email protected]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-skl4/igt@[email protected]
* igt@kms_cursor_legacy@2x-long-cursor-vs-flip-atomic:
- shard-hsw: [FAIL][33] ([fdo#105767]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-hsw1/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-hsw5/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-blt:
- shard-iclb: [FAIL][35] ([fdo#103167]) -> [PASS][36] +4 similar issues
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-iclb1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-blt.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-iclb4/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-gtt:
- shard-skl: [FAIL][37] ([fdo#103167]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-skl6/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-gtt.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-skl8/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-gtt.html
* igt@kms_plane_alpha_blend@pipe-a-constant-alpha-min:
- shard-skl: [FAIL][39] ([fdo#108145]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-skl6/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-skl7/igt@[email protected]
* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-iclb: [SKIP][41] ([fdo#109441]) -> [PASS][42] +1 similar issue
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-iclb3/igt@kms_psr@psr2_sprite_mmap_gtt.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html
* igt@kms_vblank@pipe-b-wait-busy:
- shard-snb: [SKIP][43] ([fdo#109271]) -> [PASS][44] +2 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-snb7/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-snb6/igt@[email protected]
* igt@perf@blocking:
- shard-skl: [FAIL][45] ([fdo#110728]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-skl5/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-skl7/igt@[email protected]
* igt@prime_busy@hang-bsd2:
- shard-iclb: [SKIP][47] ([fdo#109276]) -> [PASS][48] +14 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-iclb8/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-iclb2/igt@[email protected]
#### Warnings ####
* igt@gem_ctx_isolation@vcs1-nonpriv:
- shard-iclb: [SKIP][49] ([fdo#109276]) -> [FAIL][50] ([fdo#111329])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-iclb6/igt@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-iclb1/igt@[email protected]
* igt@gem_mocs_settings@mocs-reset-bsd2:
- shard-iclb: [FAIL][51] ([fdo#111330]) -> [SKIP][52] ([fdo#109276]) +2 similar issues
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-iclb2/igt@[email protected]
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-iclb3/igt@[email protected]
* igt@gen3_render_linear_blits:
- shard-apl: [SKIP][53] ([fdo#109271]) -> [INCOMPLETE][54] ([fdo#103927])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-apl1/igt@gen3_render_linear_blits.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-apl2/igt@gen3_render_linear_blits.html
* igt@kms_atomic_transition@4x-modeset-transitions-fencing:
- shard-snb: [SKIP][55] ([fdo#109271]) -> [SKIP][56] ([fdo#109271] / [fdo#109278])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_6908/shard-snb7/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/Patchwork_14429/shard-snb6/igt@[email protected]
[fdo#103167]: https://bugs.freedesktop.org/show_bug.cgi?id=103167
[fdo#103927]: https://bugs.freedesktop.org/show_bug.cgi?id=103927
[fdo#104108]: https://bugs.freedesktop.org/show_bug.cgi?id=104108
[fdo#104782]: https://bugs.freedesktop.org/show_bug.cgi?id=104782
[fdo#105767]: https://bugs.freedesktop.org/show_bug.cgi?id=105767
[fdo#108145]: https://bugs.freedesktop.org/show_bug.cgi?id=108145
[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#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109441]: https://bugs.freedesktop.org/show_bug.cgi?id=109441
[fdo#109642]: https://bugs.freedesktop.org/show_bug.cgi?id=109642
[fdo#110728]: https://bugs.freedesktop.org/show_bug.cgi?id=110728
[fdo#110841]: https://bugs.freedesktop.org/show_bug.cgi?id=110841
[fdo#110854]: https://bugs.freedesktop.org/show_bug.cgi?id=110854
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111325]: https://bugs.freedesktop.org/show_bug.cgi?id=111325
[fdo#111329]: https://bugs.freedesktop.org/show_bug.cgi?id=111329
[fdo#111330]: https://bugs.freedesktop.org/show_bug.cgi?id=111330
[fdo#99912]: https://bugs.freedesktop.org/show_bug.cgi?id=99912
Participating hosts (10 -> 10)
------------------------------
No changes in participating hosts
Build changes
-------------
* CI: CI-20190529 -> None
* Linux: CI_DRM_6908 -> Patchwork_14429
CI-20190529: 20190529
CI_DRM_6908: c09b47830224c06546b73417085f7c6880a3995a @ git://anongit.freedesktop.org/gfx-ci/linux
IGT_5188: 933b84d5585698e15542ea1c5627d5d8d63ce230 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
Patchwork_14429: b54d85a3890c61287745d72ef52f6ca4075564d5 @ 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_14429/
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx