dumbbell 2b470c5d75 drm: Take vt(4) default mode from loader tunables
By default, vt(4) gets the "preferred mode" from DRM, when using a DRM
video driver as its backend. The preferred mode is usually the native
screen resolution.

Now, if this mode isn't appropriate, a user can use loader tunables to
select a mode. The tunables are read in the following order:
    1. kern.vt.fb.modes.$connector_name
    2. kern.vt.fb.default_mode

For example, to set a 1024x768 mode, no matter the connector:
    kern.vt.fb.default_mode="1024x768"

To set a 800x600 mode only on the laptop builtin screen:
    kern.vt.fb.modes.LVDS-1="800x600"

Beside r274031, this MFC includes:

r274049:
  drm: When reading connector mode tunables, list connectors

  ... and their associated tunables. This gives a way to know the list of
  available connectors, no matter the driver.

  The problem is that xrandr(1) can list connectors but it uses a
  different naming.

r274050:
  vt(4): Document kern.vt.fb.default_mode and kern.vt.fb.modes.*

  Those tunables are used to set a specific mode in vt(4) instead of using
  the default mode.

  Differential Revision:	https://reviews.freebsd.org/D1098
  Reviewed by:	ak@, emaste@, kwm@

r274051:
  vt(4): Improve the description of kern.vt.fb.modes.$connector

  Differential Revision:	https://reviews.freebsd.org/D1098
  Submitted by:	emaste@

r274053:
  vt(4): Start new sentences on their own lines

  Submitted by:	brueffer@

MFC of:		r274031, r274049, r274050, r274051, r274053
2014-11-22 17:37:51 +00:00
..
2014-06-04 18:21:33 +00:00
2013-12-28 00:16:58 +00:00
2014-04-14 04:58:50 +00:00
2014-04-14 04:51:59 +00:00
2014-11-18 13:05:24 +00:00
2014-08-21 17:18:21 +00:00
2014-10-21 04:48:49 +00:00
2014-10-21 01:14:56 +00:00
2014-09-22 15:32:31 +00:00
2014-10-21 13:07:36 +00:00
2014-05-07 21:38:33 +00:00
2014-10-30 08:04:48 +00:00
2014-03-11 05:58:52 +00:00
2013-09-04 18:42:05 +00:00
2014-05-12 15:52:49 +00:00
2014-04-25 21:28:39 +00:00
2014-02-04 03:36:42 +00:00
2014-01-05 22:43:40 +00:00
2014-02-17 01:36:53 +00:00
2014-02-17 01:36:53 +00:00
2014-10-25 20:34:10 +00:00
2014-05-15 16:11:06 +00:00
2014-05-15 16:11:06 +00:00
2014-07-21 20:08:53 +00:00
2013-05-10 16:41:26 +00:00
2014-07-02 13:09:26 +00:00
MFC
2013-02-26 21:09:35 +00:00
2013-05-10 16:41:26 +00:00
2013-05-10 16:41:26 +00:00
2014-11-12 20:07:43 +00:00
2014-11-17 07:20:03 +00:00
2013-02-19 18:22:25 +00:00
2014-02-04 03:36:42 +00:00
2014-04-25 21:32:34 +00:00
2014-01-04 18:48:29 +00:00
2014-03-26 07:31:57 +00:00
2014-03-06 13:15:53 +00:00
2014-05-31 11:08:22 +00:00
2013-08-28 14:49:36 +00:00
2014-04-14 04:51:59 +00:00
2014-07-03 10:59:42 +00:00
2014-10-26 01:30:46 +00:00
2014-06-14 00:44:57 +00:00
2014-06-14 00:44:57 +00:00
2014-08-29 13:06:30 +00:00
2014-06-14 00:44:57 +00:00
2014-11-06 01:30:13 +00:00
2014-10-24 07:06:01 +00:00
2014-01-05 22:53:55 +00:00
2014-08-16 13:23:23 +00:00
2014-09-17 18:17:18 +00:00
2014-11-03 10:33:01 +00:00
2013-11-14 09:11:54 +00:00
2014-02-17 01:36:53 +00:00
2014-07-01 06:23:48 +00:00
2014-11-15 05:50:14 +00:00
2014-11-11 17:13:03 +00:00
2014-04-25 22:19:18 +00:00
2014-04-25 21:58:28 +00:00
2014-04-14 04:51:59 +00:00
2013-02-19 19:25:50 +00:00
2014-02-17 01:36:53 +00:00
2013-07-07 19:47:22 +00:00
2014-01-04 18:53:31 +00:00
2014-08-04 01:14:27 +00:00
2014-08-27 21:11:19 +00:00
2014-05-15 16:11:06 +00:00
2014-10-20 07:25:57 +00:00
2014-03-26 07:31:57 +00:00
2014-06-27 05:37:00 +00:00
2014-04-14 04:51:59 +00:00
2014-05-15 16:11:06 +00:00
2014-02-17 01:36:53 +00:00
2014-05-31 11:08:22 +00:00
2014-10-06 09:46:21 +00:00
2014-05-31 11:08:22 +00:00
2013-05-10 16:41:26 +00:00
2013-09-05 23:14:27 +00:00
2014-06-18 19:32:38 +00:00
2014-11-03 12:38:29 +00:00
2014-10-26 04:01:57 +00:00
2014-09-03 23:08:21 +00:00
2014-10-21 01:48:19 +00:00
2014-02-19 19:38:25 +00:00
2014-11-01 05:45:05 +00:00
2014-05-15 16:11:06 +00:00
2014-04-25 22:04:40 +00:00
2014-07-11 00:26:57 +00:00
2014-10-28 00:43:00 +00:00
2014-01-04 21:32:53 +00:00
2014-09-03 20:07:26 +00:00
2014-05-15 16:11:06 +00:00
2014-05-11 17:18:09 +00:00
2014-04-14 04:51:59 +00:00
2014-05-31 11:08:22 +00:00
2014-05-31 11:08:22 +00:00
2014-05-31 11:08:22 +00:00
2013-05-10 16:41:26 +00:00
2014-01-09 18:28:58 +00:00
2013-05-10 16:41:26 +00:00
2013-12-28 01:47:19 +00:00
2014-07-07 14:16:05 +00:00
2014-05-15 16:11:06 +00:00
2014-01-04 19:13:25 +00:00
2014-10-26 01:30:46 +00:00
2014-03-14 00:57:32 +00:00
2014-05-31 11:08:22 +00:00
2014-10-26 04:08:34 +00:00
2014-11-19 08:48:59 +00:00
2014-08-24 19:31:26 +00:00
2014-11-03 12:38:29 +00:00
2013-07-27 20:47:01 +00:00
2014-02-17 01:36:53 +00:00
2014-04-25 22:23:38 +00:00
2014-11-03 12:38:29 +00:00