<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - G98/GM206: WARNING: ... at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x8a/0x90 [drm_kms_helper]()"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92307#c13">Comment # 13</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - G98/GM206: WARNING: ... at include/drm/drm_crtc.h:1577 drm_helper_choose_encoder_dpms+0x8a/0x90 [drm_kms_helper]()"
href="https://bugs.freedesktop.org/show_bug.cgi?id=92307">bug 92307</a>
from <span class="vcard"><a class="email" href="mailto:pomidorabelisima@gmail.com" title="poma <pomidorabelisima@gmail.com>"> <span class="fn">poma</span></a>
</span></b>
<pre>Created <span class=""><a href="attachment.cgi?id=119664" name="attach_119664" title="dmesg 4.4.0-0.rc0.git9.1.fc24.x86_64 connector_hotplug nvif_notify">attachment 119664</a> <a href="attachment.cgi?id=119664&action=edit" title="dmesg 4.4.0-0.rc0.git9.1.fc24.x86_64 connector_hotplug nvif_notify">[details]</a></span>
dmesg 4.4.0-0.rc0.git9.1.fc24.x86_64 connector_hotplug nvif_notify
- nouveau.ko built of:
<a href="http://cgit.freedesktop.org/~darktama/nouveau">http://cgit.freedesktop.org/~darktama/nouveau</a>
git://people.freedesktop.org/~darktama/nouveau
- ending with:
$ git log -1
commit ad38b5e72b3acb40b820954f04293a0161e33845
Author: Ben Skeggs <<a href="mailto:bskeggs@redhat.com">bskeggs@redhat.com</a>>
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 <<a href="mailto:bskeggs@redhat.com">bskeggs@redhat.com</a>>
- 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"
<a href="https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/gpu/drm/radeon/radeon_device.c?id=6adaed5">https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/gpu/drm/radeon/radeon_device.c?id=6adaed5</a>
Conclusion:
In this regard, it does not change anything - with or without ~darktama/nouveau
update, with or without patch.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>