Displaying 4 results from an estimated 4 matches for "drm_fb_helper_probe_connector_modes".
2018 Feb 11
0
[PATCH 3/5] drm/nouveau: Fix deadlock on runtime suspend
...s is safe because
the poll worker is only enabled while runtime active and we know that
->runtime_suspend waits for it to finish.
Other contexts calling nouveau_connector_detect() do require a runtime
PM ref, these comprise:
status_store() drm sysfs interface
->fill_modes drm callback
drm_fb_helper_probe_connector_modes()
drm_mode_getconnector()
nouveau_connector_hotplug()
nouveau_display_hpd_work()
nv17_tv_set_property()
Stack trace for posterity:
INFO: task kworker/0:1:58 blocked for more than 120 seconds.
Workqueue: events output_poll_execute [drm_kms_helper]
Call Trace:
schedule+0x28/0x80...
2011 Nov 23
0
nouveau git + v3.2-rc2 + NV18 Oops
...x45/0x4f [nouveau]
[ 956.066579] [<f8869e3e>] ? nouveau_connector_detect+0x8c/0x21f [nouveau]
[ 956.066579] [<c1104a96>] ? snprintf+0x19/0x1b
[ 956.066579] [<f81565da>] ? drm_helper_probe_single_connector_modes+0xae/0x2a0 [drm_kms_helper]
[ 956.066579] [<f8154589>] ? drm_fb_helper_probe_connector_modes+0x2f/0x40 [drm_kms_helper]
[ 956.066579] [<f8155a9b>] ? drm_fb_helper_initial_config+0x175/0x1a4 [drm_kms_helper]
[ 956.066579] [<f889fec8>] ? NVWriteVgaCrtc+0x79/0x99 [nouveau]
[ 956.066579] [<f885bd48>] ? NVWriteVgaSeq+0x22/0x38 [nouveau]
[ 956.066579] [<f886af86>]...
2018 Feb 11
19
[PATCH 0/5] Fix deadlock on runtime suspend in DRM drivers
Fix a deadlock on hybrid graphics laptops that's been present since 2013:
DRM drivers poll connectors in 10 sec intervals. The poll worker is
stopped on ->runtime_suspend with cancel_delayed_work_sync(). However
the poll worker invokes the DRM drivers' ->detect callbacks, which call
pm_runtime_get_sync(). If the poll worker starts after runtime suspend
has begun,
2012 Dec 12
43
[PATCH 00/37] [RFC] revamped modeset locking
Hi all,
First thing first: It works, I now no longer have a few dropped frames every 10s
on my testbox here with the pageflip i-g-t tests.
Random notes:
- New design has per-crtc locks to protect the crtc input-side (pageflip,
cursor) for r/w and the output state of the crtc (mode, dpms) as read-only. It
also required completely revamped fb lifecycle management, those are now
refcounted