Thierry Reding
10a2310265
drm: Introduce drm_fb_helper_prepare()
...
To implement hotplug detection in a race-free manner, drivers must call
drm_kms_helper_poll_init() before hotplug events can be triggered. Such
events can be triggered right after any of the encoders or connectors
are initialized. At the same time, if the drm_fb_helper_hotplug_event()
helper is used by a driver, then the poll helper requires some parts of
the FB helper to be initialized to prevent a crash.
At the same time, drm_fb_helper_init() requires information that is not
necessarily available at such an early stage (number of CRTCs and
connectors), so it cannot be used yet.
Add a new helper, drm_fb_helper_prepare(), that initializes the bare
minimum needed to allow drm_kms_helper_poll_init() to execute and any
subsequent hotplug events to be processed properly.
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2014-07-08 11:31:28 +10:00
..
2014-02-06 12:13:52 +10:00
2013-07-30 17:24:12 -04:00
2014-06-18 16:30:46 -04:00
2014-07-01 11:31:39 -04:00
2014-06-02 10:25:15 -04:00
2014-06-02 10:25:02 -04:00
2013-11-08 12:33:45 -05:00
2014-02-18 16:11:30 +01:00
2013-09-23 10:29:51 -04:00
2014-02-06 12:22:46 -05:00
2013-08-30 16:29:57 -04:00
2014-04-17 13:59:53 +02:00
2013-08-30 16:31:06 -04:00
2014-01-07 12:29:04 -05:00
2013-06-25 17:50:28 -04:00
2013-06-25 17:50:28 -04:00
2013-08-30 16:30:09 -04:00
2014-06-09 22:06:48 -04:00
2014-06-09 22:06:55 -04:00
2014-07-02 14:10:19 -04:00
2014-06-02 10:25:07 -04:00
2014-06-02 10:25:07 -04:00
2013-06-27 10:49:18 -04:00
2013-08-30 16:30:08 -04:00
2014-06-02 10:25:07 -04:00
2014-07-01 12:15:17 -04:00
2013-06-27 19:16:19 -04:00
2014-06-02 10:25:04 -04:00
2014-04-08 17:43:48 +02:00
2013-08-30 16:29:57 -04:00
2014-03-04 14:34:34 +01:00
2014-05-06 12:18:41 +02:00
2014-06-04 13:17:30 +10:00
2014-06-13 12:22:30 -04:00
2014-03-06 16:46:58 -05:00
2014-06-09 22:06:55 -04:00
2014-06-02 18:37:33 -04:00
2013-01-31 16:24:47 -05:00
2014-07-01 11:16:10 -04:00
2013-09-11 11:44:38 -04:00
2013-09-11 11:44:38 -04:00
2014-06-02 10:25:04 -04:00
2014-01-10 15:28:10 +01:00
2014-02-18 17:50:00 +01:00
2014-07-01 12:15:53 -04:00
2013-07-08 17:41:11 -04:00
2014-06-09 22:06:55 -04:00
2014-06-02 10:25:03 -04:00
2013-06-27 19:16:10 -04:00
2013-06-26 16:11:34 -04:00
2013-09-11 11:44:37 -04:00
2014-01-03 11:34:21 -05:00
2014-06-09 22:06:51 -04:00
2013-01-31 16:24:46 -05:00
2014-03-04 14:34:34 +01:00
2013-12-18 11:35:01 +10:00
2014-06-09 22:06:51 -04:00
2013-01-31 16:24:46 -05:00
2014-03-06 16:46:56 -05:00
2014-06-13 12:22:30 -04:00
2014-03-06 16:46:56 -05:00
2014-02-27 14:21:31 -05:00
2013-08-30 16:29:57 -04:00
2013-08-30 16:29:57 -04:00
2013-12-18 11:35:01 +10:00
2014-03-04 14:34:34 +01:00
2014-05-06 12:18:41 +02:00
2014-04-22 16:51:19 +02:00
2014-02-18 16:11:30 +01:00
2014-06-02 10:25:06 -04:00
2013-06-27 19:16:30 -04:00
2014-06-09 22:06:55 -04:00
2014-06-02 10:25:05 -04:00
2013-12-07 01:03:14 +01:00
2014-06-02 10:25:08 -04:00
2014-06-09 22:06:52 -04:00
2014-06-09 22:06:51 -04:00
2014-07-01 11:16:08 -04:00
2014-04-22 16:51:20 +02:00
2013-03-15 18:47:18 -04:00
2014-06-10 09:35:42 +10:00
2014-01-07 13:06:31 -05:00
2014-07-08 11:04:35 +10:00
2013-12-18 11:35:21 +10:00
2014-06-09 22:06:52 -04:00
2013-06-26 16:11:38 -04:00
2014-06-09 22:06:54 -04:00
2014-07-01 12:26:48 -04:00
2014-07-01 11:23:03 -04:00
2013-12-18 11:33:46 +10:00
2014-05-06 12:19:57 +02:00
2014-07-08 11:31:28 +10:00
2014-06-09 22:06:55 -04:00
2014-03-03 11:03:34 +01:00
2014-03-03 10:57:10 +01:00
2014-06-05 09:54:29 +10:00
2014-06-10 09:36:17 +10:00
2014-04-23 10:32:50 +02:00
2013-12-18 11:35:01 +10:00
2014-06-10 13:09:01 +10:00
2014-04-01 20:18:28 -04:00
2013-10-22 09:37:40 +01:00
2013-12-18 11:35:01 +10:00
2014-07-01 12:26:48 -04:00
2014-06-09 22:06:52 -04:00
2014-06-02 10:25:06 -04:00
2014-07-01 11:16:09 -04:00
2013-08-19 09:34:47 +10:00
2013-06-26 16:11:38 -04:00
2014-04-03 12:35:40 +02:00
2014-03-03 11:26:39 +01:00
2014-03-03 11:26:39 +01:00
2014-06-10 09:36:17 +10:00
2014-02-18 16:11:22 +01:00
2014-01-29 15:23:03 -05:00
2014-03-18 19:17:02 +10:00
2014-05-06 12:19:59 +02:00
2014-06-09 22:06:56 -04:00
2014-06-09 22:06:48 -04:00
2014-07-02 15:52:21 -04:00
2014-07-01 11:44:18 -04:00
2014-06-09 22:06:51 -04:00
2014-06-09 22:06:51 -04:00
2014-03-06 16:46:56 -05:00
2013-04-09 10:31:31 -04:00
2014-02-18 16:11:30 +01:00
2013-06-27 10:49:25 -04:00
2013-07-17 16:47:52 -04:00
2014-02-18 16:11:30 +01:00
2013-06-27 10:50:08 -04:00
2013-06-27 10:50:08 -04:00
2014-03-06 16:46:56 -05:00
2013-01-31 16:24:46 -05:00
2013-06-27 19:14:59 -04:00
2013-06-27 19:14:59 -04:00
2013-06-27 19:16:12 -04:00
2013-06-27 19:14:59 -04:00
2014-05-06 12:18:41 +02:00
2014-02-27 14:39:30 +10:00
2013-12-24 17:56:50 -05:00
2013-09-11 11:44:28 -04:00
2013-09-11 11:44:28 -04:00
2014-06-09 22:06:55 -04:00
2014-01-08 18:42:22 -05:00
2014-06-09 22:06:48 -04:00
2014-06-09 22:06:57 -04:00
2013-06-27 19:40:05 -04:00
2014-01-07 11:45:38 -05:00
2014-06-09 22:06:55 -04:00
2014-06-05 20:28:59 +10:00
2014-01-07 11:45:38 -05:00
2013-08-30 16:30:29 -04:00
2013-08-30 16:30:28 -04:00
2013-08-30 16:30:28 -04:00
2014-02-18 16:11:30 +01:00
2013-08-30 16:30:10 -04:00
2014-01-07 12:55:50 -05:00
2013-06-27 19:15:48 -04:00
2014-07-01 11:16:10 -04:00
2013-09-11 11:44:39 -04:00
2014-01-07 12:55:57 -05:00
2013-06-27 19:15:48 -04:00
2014-05-01 10:17:44 +02:00
2014-06-09 22:06:48 -04:00
2013-11-15 15:56:09 -05:00
2013-08-30 16:31:12 -04:00
2014-02-18 17:49:19 +01:00
2014-02-18 16:11:44 +01:00