https://bugs.freedesktop.org/show_bug.cgi?id=92307
--- Comment #13 from poma <[email protected]> --- Created attachment 119664 --> https://bugs.freedesktop.org/attachment.cgi?id=119664&action=edit dmesg 4.4.0-0.rc0.git9.1.fc24.x86_64 connector_hotplug nvif_notify - nouveau.ko built of: http://cgit.freedesktop.org/~darktama/nouveau git://people.freedesktop.org/~darktama/nouveau - ending with: $ git log -1 commit ad38b5e72b3acb40b820954f04293a0161e33845 Author: Ben Skeggs <[email protected]> Date: Wed Nov 11 13:06:10 2015 +1000 WIPce/gk104: attempt at better handling of LAUNCHERR Very rough, no idea how correct it is at this point, but it prevents getteximage-depth from piglit from hanging the GPU. Signed-off-by: Ben Skeggs <[email protected]> - patched with: $ git diff diff --git a/drm/nouveau/nouveau_connector.c b/drm/nouveau/nouveau_connector.c index 36ec8f3..d6afbb0 100644 --- a/drm/nouveau/nouveau_connector.c +++ b/drm/nouveau/nouveau_connector.c @@ -1274,6 +1274,7 @@ nouveau_connector_create(struct drm_device *dev, int index) break; } + drm_modeset_lock_all(dev); ret = nvif_notify_init(&disp->disp, nouveau_connector_hotplug, true, NV04_DISP_NTFY_CONN, &(struct nvif_notify_conn_req_v0) { @@ -1283,6 +1284,7 @@ nouveau_connector_create(struct drm_device *dev, int index) sizeof(struct nvif_notify_conn_req_v0), sizeof(struct nvif_notify_conn_rep_v0), &nv_connector->hpd); + drm_modeset_unlock_all(dev); if (ret) connector->polled = DRM_CONNECTOR_POLL_CONNECT; else Ref. "drm/radeon: Sprinkle drm_modeset_lock_all to appease locking checks" https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/gpu/drm/radeon/radeon_device.c?id=6adaed5 Conclusion: In this regard, it does not change anything - with or without ~darktama/nouveau update, with or without patch. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Nouveau mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/nouveau
