2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-22 13:17:08 +08:00
|
|
|
|
2009-06-22 13:17:09 +08:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:49 +02:00
|
|
|
|
2023-01-11 14:01:58 +01:00
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2010-01-12 17:39:16 +11:00
|
|
|
|
2023-01-11 14:01:58 +01:00
|
|
|
|
2019-05-26 19:35:35 +02:00
|
|
|
|
2022-02-27 13:47:11 +01:00
|
|
|
|
2012-10-28 18:28:06 +01:00
|
|
|
|
2012-11-14 11:22:52 +01:00
|
|
|
|
2019-05-26 19:35:35 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-06-14 12:02:45 +03:00
|
|
|
|
2014-01-23 15:52:20 +01:00
|
|
|
|
2019-05-26 19:35:35 +02:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2014-01-23 15:35:24 +01:00
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2014-01-23 15:06:15 +01:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-25 18:05:05 +00:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2016-11-05 11:08:06 -04:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 15:35:24 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
2014-01-23 15:35:24 +01:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2014-01-23 15:35:24 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-02-21 16:37:42 -08:00
|
|
|
|
2014-01-23 15:35:24 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2014-01-23 15:35:24 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2014-01-23 15:35:24 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 15:35:24 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-17 10:28:49 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-22 13:17:08 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm/kms: start adding command line interface using fb.
[note this requires an fb patch posted to linux-fbdev-devel already]
This uses the normal video= command line option to control the kms
output setup at boot time. It is used to override the autodetection
done by kms.
video= normally takes a framebuffer as the first parameter, in kms
it will take a connector name, DVI-I-1, or LVDS-1 etc. If no output
connector is specified the mode string will apply to all connectors.
The mode specification used will match down the probed modes, and if
no mode is found it will add a CVT mode that matches.
video=1024x768 - all connectors match a 1024x768 mode or add a CVT on
video=VGA-1:1024x768, VGA-1 connector gets mode only.
The same strings as used in current fb modedb.c are used, except I've
added three more letters, e, D, d, e = enable, D = enable Digital,
d = disable, which allow a connector to be forced into a certain state.
Signed-off-by: Dave Airlie <airlied@redhat.com>
2009-09-23 14:44:08 +10:00
|
|
|
|
2009-06-22 13:17:08 +08:00
|
|
|
|
2014-01-23 15:06:15 +01:00
|
|
|
|
2009-06-22 13:17:08 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-10-21 15:15:40 +01:00
|
|
|
|
2009-06-22 13:17:08 +08:00
|
|
|
|
2019-07-09 17:51:51 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-22 13:17:08 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
2009-06-22 13:17:08 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-08-23 10:19:14 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-22 13:17:08 +08:00
|
|
|
|
|
|
|
|
|
2016-10-21 15:15:40 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-22 13:17:08 +08:00
|
|
|
|
|
|
|
|
|
2010-03-29 21:43:31 +00:00
|
|
|
|
2009-06-22 13:17:08 +08:00
|
|
|
|
2010-03-29 21:43:31 +00:00
|
|
|
|
|
|
|
|
|
2009-06-22 13:17:08 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-29 21:43:31 +00:00
|
|
|
|
2009-06-22 13:17:08 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-22 13:17:09 +08:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 15:06:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-22 13:17:09 +08:00
|
|
|
|
2010-03-29 21:43:30 +00:00
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-22 13:17:09 +08:00
|
|
|
|
2010-03-29 21:43:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-22 13:17:09 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-29 21:43:30 +00:00
|
|
|
|
|
|
|
|
|
2009-06-22 13:17:09 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-10 11:24:37 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-22 13:17:09 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-07-09 17:51:51 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-06-22 13:17:09 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-29 21:43:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-06-01 23:40:36 +02:00
|
|
|
|
2010-03-29 21:43:30 +00:00
|
|
|
|
2020-07-19 19:14:28 +02:00
|
|
|
|
2010-03-29 21:43:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-05-31 22:55:13 +02:00
|
|
|
|
|
|
|
|
|
2015-11-25 18:07:55 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-29 21:43:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 15:06:15 +01:00
|
|
|
|
2010-03-29 21:43:30 +00:00
|
|
|
|
2014-01-23 15:06:15 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-29 21:43:30 +00:00
|
|
|
|
2009-06-22 13:17:09 +08:00
|
|
|
|
2010-03-29 21:43:30 +00:00
|
|
|
|
2013-03-12 10:15:43 +02:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 16:28:50 +01:00
|
|
|
|
|
|
|
|
|
2012-11-14 11:22:52 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-03-12 10:26:45 +02:00
|
|
|
|
2012-11-14 11:22:52 +01:00
|
|
|
|
2013-03-12 10:26:45 +02:00
|
|
|
|
2012-11-14 11:22:52 +01:00
|
|
|
|
2013-03-12 10:26:45 +02:00
|
|
|
|
2012-11-14 11:22:52 +01:00
|
|
|
|
2013-03-12 10:26:45 +02:00
|
|
|
|
2012-11-14 11:22:52 +01:00
|
|
|
|
2013-03-12 10:26:45 +02:00
|
|
|
|
2012-11-14 11:22:52 +01:00
|
|
|
|
2013-03-12 10:26:45 +02:00
|
|
|
|
2012-11-14 11:22:52 +01:00
|
|
|
|
2013-05-27 12:33:35 +00:00
|
|
|
|
|
|
|
|
|
2012-11-14 11:22:52 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-12-18 18:00:22 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-08-16 15:34:37 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-06-18 16:22:34 +03:00
|
|
|
|
|
|
|
|
|
2016-08-16 15:34:37 +02:00
|
|
|
|
2018-09-22 15:02:42 +03:00
|
|
|
|
|
|
|
|
|
2018-06-18 16:22:34 +03:00
|
|
|
|
2016-08-16 15:34:37 +02:00
|
|
|
|
2016-07-12 15:30:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-09-22 15:02:42 +03:00
|
|
|
|
2016-07-12 15:30:02 +02:00
|
|
|
|
2018-09-22 15:02:42 +03:00
|
|
|
|
2016-07-12 15:30:02 +02:00
|
|
|
|
2018-06-18 16:22:34 +03:00
|
|
|
|
2018-09-22 15:02:42 +03:00
|
|
|
|
2018-06-18 16:22:34 +03:00
|
|
|
|
2018-09-22 15:02:42 +03:00
|
|
|
|
2018-06-18 16:22:34 +03:00
|
|
|
|
2016-07-12 15:30:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-03-12 10:15:43 +02:00
|
|
|
|
2012-10-28 18:28:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-06-18 16:22:34 +03:00
|
|
|
|
2012-10-28 18:28:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-10-28 18:28:06 +01:00
|
|
|
|
|
|
|
|
|
2016-07-12 15:30:03 +02:00
|
|
|
|
|
|
|
|
|
2012-10-28 18:28:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2016-07-12 15:30:03 +02:00
|
|
|
|
|
|
|
|
|
2012-10-28 18:28:06 +01:00
|
|
|
|
2024-04-08 12:24:02 +03:00
|
|
|
|
|
|
|
|
|
2012-10-28 18:28:06 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-02-27 13:47:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-11 02:47:27 +02:00
|
|
|
|
|
|
|
|
|
2022-02-27 13:47:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-11 02:47:27 +02:00
|
|
|
|
2022-02-27 13:47:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-04-11 02:47:27 +02:00
|
|
|
|
2022-02-27 13:47:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-04-08 12:24:02 +03:00
|
|
|
|
2022-02-27 13:47:11 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-03-12 10:15:43 +02:00
|
|
|
|
|
|
|
|
|
2012-10-28 18:28:06 +01:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-03-29 21:43:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2024-11-29 06:26:29 +02:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2011-01-26 09:49:47 +00:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2024-11-29 06:26:28 +02:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2020-04-28 20:19:33 +03:00
|
|
|
|
|
|
|
|
|
2018-03-13 17:07:58 +02:00
|
|
|
|
2020-04-28 20:19:33 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-13 17:07:58 +02:00
|
|
|
|
2024-11-29 06:26:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-10-22 22:42:56 +03:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-01-25 07:26:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-02-18 12:04:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-01-25 07:26:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2013-09-25 16:45:35 +01:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2013-09-25 16:45:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-12-01 15:40:09 -08:00
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-11-14 20:32:54 +02:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
2013-09-25 16:45:34 +01:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-12-01 15:40:09 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
2014-12-01 15:40:09 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
2013-09-25 16:45:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-03-13 12:35:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-02-09 11:19:28 +02:00
|
|
|
|
2013-05-31 12:17:06 +00:00
|
|
|
|
2012-03-13 12:35:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-05-31 12:17:06 +00:00
|
|
|
|
2012-03-13 12:35:51 +02:00
|
|
|
|
|
|
|
|
|
2013-05-31 12:17:06 +00:00
|
|
|
|
2012-03-13 12:35:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-02-18 12:03:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
2018-05-08 16:39:36 +05:30
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2018-05-08 16:39:36 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm: Add aspect ratio parsing in DRM layer
Current DRM layer functions don't parse aspect ratio information
while converting a user mode->kernel mode or vice versa. This
causes modeset to pick mode with wrong aspect ratio, eventually
causing failures in HDMI compliance test cases, due to wrong VIC.
This patch adds aspect ratio information in DRM's mode conversion
and mode comparision functions, to make sure kernel picks mode
with right aspect ratio (as per the VIC).
Background:
This patch was once reviewed and merged, and later reverted due to
lack of DRM cap protection. This is a re-spin of this patch, this
time with DRM cap protection, to avoid aspect ratio information, when
the client doesn't request for it.
Review link: https://pw-emeril.freedesktop.org/patch/104068/
Background discussion: https://patchwork.kernel.org/patch/9379057/
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Lin, Jia <lin.a.jia@intel.com>
Signed-off-by: Akashdeep Sharma <akashdeep.sharma@intel.com>
Reviewed-by: Jim Bride <jim.bride@linux.intel.com> (V2)
Reviewed-by: Jose Abreu <Jose.Abreu@synopsys.com> (V4)
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Cc: Jose Abreu <Jose.Abreu@synopsys.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
V3: modified the aspect-ratio check in drm_mode_equal as per new flags
provided by Ville. https://patchwork.freedesktop.org/patch/188043/
V4: rebase
V5: rebase
V6: As recommended by Ville, avoided matching of aspect-ratio in
drm_fb_helper, while trying to find a common mode among connectors
for the target clone mode.
V7: rebase
V8: rebase
V9: rebase
V10: rebase
V11: rebase
V12: rebase
V13: rebase
V14: rebase
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1525777785-9740-10-git-send-email-ankit.k.nautiyal@intel.com
2018-05-08 16:39:44 +05:30
|
|
|
|
|
|
|
|
|
2015-11-16 21:05:12 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-08 16:39:36 +05:30
|
|
|
|
|
|
|
|
|
2015-11-16 21:05:12 +02:00
|
|
|
|
2018-05-08 16:39:36 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-04-24 19:07:16 +03:00
|
|
|
|
2015-11-16 21:05:12 +02:00
|
|
|
|
2013-04-24 19:07:16 +03:00
|
|
|
|
|
|
|
|
|
2013-09-25 16:45:27 +01:00
|
|
|
|
2013-04-24 19:07:16 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-09-25 16:45:27 +01:00
|
|
|
|
2013-04-24 19:07:16 +03:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2013-04-24 19:07:16 +03:00
|
|
|
|
|
|
|
|
|
2013-09-25 16:45:27 +01:00
|
|
|
|
|
|
|
|
|
2013-04-24 19:07:16 +03:00
|
|
|
|
2018-05-08 16:39:36 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2013-09-25 16:45:27 +01:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2017-11-14 20:32:57 +02:00
|
|
|
|
2014-12-17 13:56:23 +02:00
|
|
|
|
|
|
|
|
|
2017-11-15 17:49:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-11-14 20:32:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-12-17 13:56:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-11-14 20:32:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-12-17 13:56:23 +02:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
2014-12-17 13:56:22 +02:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
2014-10-20 23:53:13 +09:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2014-12-17 13:56:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2014-12-17 13:56:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2014-12-17 13:56:22 +02:00
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2014-12-17 13:56:22 +02:00
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2014-12-17 13:56:22 +02:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-07-13 21:03:11 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-05-04 13:27:42 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-07-13 21:03:11 +05:30
|
|
|
|
2021-05-04 13:27:42 +03:00
|
|
|
|
2017-07-13 21:03:11 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-02-02 19:13:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-07-13 21:03:11 +05:30
|
|
|
|
2015-12-10 22:39:08 +02:00
|
|
|
|
2015-02-02 19:13:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-06-11 22:34:02 +03:00
|
|
|
|
2015-02-02 19:13:57 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2019-02-01 17:23:26 -08:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-05-11 20:31:23 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2024-04-08 12:24:02 +03:00
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:39:16 +11:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2021-04-08 11:28:34 -07:00
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-05-31 12:17:08 +00:00
|
|
|
|
2020-04-28 20:19:27 +03:00
|
|
|
|
2013-05-31 12:17:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-01-12 17:39:16 +11:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-07-09 10:40:08 +02:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
2018-07-09 10:40:08 +02:00
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 15:14:15 +01:00
|
|
|
|
|
|
|
|
|
2015-12-03 23:14:12 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
2015-12-03 23:14:12 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm: Only merge mode type bits between new probed modes
Currently most drivers request that any mode appearing on both the
old mode list and the new probed_modes list get their type bits ORed
together if the modes are deemed to otherwise match each other.
I don't know why anyone would want to merge in the mode type bits
from any mode left over from a previous probe. For instance, you
could never get rid of ther preferred bit if a matching non-preferred
mode is returned by the new probe. So let's not merge anything from
the stale old modes, and just replace them outright with matching new
modes.
If multiple matching modes are produced by the same probe, merging
the type bits between them would seem like a sensible thing to do.
For a bit of extra finesse if two modes are considered equal we can
pick the actual timings from the one marked as preferrred. And if
multiple preferred modes are produced by the same probe somehow, we
can just favor the first one added to the probed_modes list.
You may be asking yourself why we bother with the merging at all if
nothing from the old list survives in practice. The only answer I have
is "debug output". That is we want to print out a list of pruned modes,
which is why we still want to look for duplicates with the old modes.
There was a previous attempt to get rid of the mode type merging
entirely, but it caused some kind of regression on Daniels's G33
machine. Apparently the sdvo transcoder on said machine started to
die at around the same time and has since rotted away totally, so
it may have been a red herring. So we don't have to worry about
it anymore. The relevant commits are:
commit 3fbd6439e463 ("drm: copy mode type in drm_mode_connector_list_update()")
commit abce1ec9b08a ("Revert "drm: copy mode type in drm_mode_connector_list_update()"")
It was then decided in
commit b87577b7c768 ("drm: try harder to avoid regression when merging mode bits")
that just qxl virtio are excluded from the merging, while everyone
else does it. That is not changed, although now even qxl and virtio
will be subject to the previously mentioned logic to choose which
actual timings are picked for the new mode.
v2: Fix typos in commit message, and clarify the details on
the G33 regression from the previous attempt (Daniel)
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Adam Jackson <ajax@redhat.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1449234781-22332-1-git-send-email-ville.syrjala@linux.intel.com
2015-12-04 15:13:01 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-12-03 23:14:14 +02:00
|
|
|
|
drm: Only merge mode type bits between new probed modes
Currently most drivers request that any mode appearing on both the
old mode list and the new probed_modes list get their type bits ORed
together if the modes are deemed to otherwise match each other.
I don't know why anyone would want to merge in the mode type bits
from any mode left over from a previous probe. For instance, you
could never get rid of ther preferred bit if a matching non-preferred
mode is returned by the new probe. So let's not merge anything from
the stale old modes, and just replace them outright with matching new
modes.
If multiple matching modes are produced by the same probe, merging
the type bits between them would seem like a sensible thing to do.
For a bit of extra finesse if two modes are considered equal we can
pick the actual timings from the one marked as preferrred. And if
multiple preferred modes are produced by the same probe somehow, we
can just favor the first one added to the probed_modes list.
You may be asking yourself why we bother with the merging at all if
nothing from the old list survives in practice. The only answer I have
is "debug output". That is we want to print out a list of pruned modes,
which is why we still want to look for duplicates with the old modes.
There was a previous attempt to get rid of the mode type merging
entirely, but it caused some kind of regression on Daniels's G33
machine. Apparently the sdvo transcoder on said machine started to
die at around the same time and has since rotted away totally, so
it may have been a red herring. So we don't have to worry about
it anymore. The relevant commits are:
commit 3fbd6439e463 ("drm: copy mode type in drm_mode_connector_list_update()")
commit abce1ec9b08a ("Revert "drm: copy mode type in drm_mode_connector_list_update()"")
It was then decided in
commit b87577b7c768 ("drm: try harder to avoid regression when merging mode bits")
that just qxl virtio are excluded from the merging, while everyone
else does it. That is not changed, although now even qxl and virtio
will be subject to the previously mentioned logic to choose which
actual timings are picked for the new mode.
v2: Fix typos in commit message, and clarify the details on
the G33 regression from the previous attempt (Daniel)
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Adam Jackson <ajax@redhat.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1449234781-22332-1-git-send-email-ville.syrjala@linux.intel.com
2015-12-04 15:13:01 +02:00
|
|
|
|
|
|
|
|
|
2015-12-03 23:14:14 +02:00
|
|
|
|
drm: Only merge mode type bits between new probed modes
Currently most drivers request that any mode appearing on both the
old mode list and the new probed_modes list get their type bits ORed
together if the modes are deemed to otherwise match each other.
I don't know why anyone would want to merge in the mode type bits
from any mode left over from a previous probe. For instance, you
could never get rid of ther preferred bit if a matching non-preferred
mode is returned by the new probe. So let's not merge anything from
the stale old modes, and just replace them outright with matching new
modes.
If multiple matching modes are produced by the same probe, merging
the type bits between them would seem like a sensible thing to do.
For a bit of extra finesse if two modes are considered equal we can
pick the actual timings from the one marked as preferrred. And if
multiple preferred modes are produced by the same probe somehow, we
can just favor the first one added to the probed_modes list.
You may be asking yourself why we bother with the merging at all if
nothing from the old list survives in practice. The only answer I have
is "debug output". That is we want to print out a list of pruned modes,
which is why we still want to look for duplicates with the old modes.
There was a previous attempt to get rid of the mode type merging
entirely, but it caused some kind of regression on Daniels's G33
machine. Apparently the sdvo transcoder on said machine started to
die at around the same time and has since rotted away totally, so
it may have been a red herring. So we don't have to worry about
it anymore. The relevant commits are:
commit 3fbd6439e463 ("drm: copy mode type in drm_mode_connector_list_update()")
commit abce1ec9b08a ("Revert "drm: copy mode type in drm_mode_connector_list_update()"")
It was then decided in
commit b87577b7c768 ("drm: try harder to avoid regression when merging mode bits")
that just qxl virtio are excluded from the merging, while everyone
else does it. That is not changed, although now even qxl and virtio
will be subject to the previously mentioned logic to choose which
actual timings are picked for the new mode.
v2: Fix typos in commit message, and clarify the details on
the G33 regression from the previous attempt (Daniel)
Cc: Marc-André Lureau <marcandre.lureau@redhat.com>
Cc: Dave Airlie <airlied@redhat.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Adam Jackson <ajax@redhat.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1449234781-22332-1-git-send-email-ville.syrjala@linux.intel.com
2015-12-04 15:13:01 +02:00
|
|
|
|
|
|
|
|
|
2015-12-03 23:14:12 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-11-07 14:05:41 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-07-09 10:40:08 +02:00
|
|
|
|
2011-04-17 07:43:32 +01:00
|
|
|
|
2019-06-19 12:17:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-08-27 13:58:47 +02:00
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:26 +01:00
|
|
|
|
2019-11-18 16:51:27 +01:00
|
|
|
|
2019-06-28 14:16:45 +02:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:22 +01:00
|
|
|
|
2019-11-18 16:51:26 +01:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
2019-11-18 16:51:26 +01:00
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:26 +01:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:22 +01:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
2019-11-18 16:51:22 +01:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:22 +01:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:22 +01:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:22 +01:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-17 10:28:51 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
2019-11-18 16:51:27 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-01-17 16:34:28 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-14 14:00:29 +01:00
|
|
|
|
|
|
|
|
|
2022-11-14 14:00:31 +01:00
|
|
|
|
2022-11-14 14:00:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-17 10:28:51 +01:00
|
|
|
|
2022-11-14 14:00:29 +01:00
|
|
|
|
|
|
|
|
|
2022-11-17 10:28:51 +01:00
|
|
|
|
2022-11-14 14:00:30 +01:00
|
|
|
|
|
|
|
|
|
2022-11-14 14:00:31 +01:00
|
|
|
|
2022-11-14 14:00:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-17 10:28:51 +01:00
|
|
|
|
2022-11-14 14:00:30 +01:00
|
|
|
|
|
|
|
|
|
2022-11-14 14:00:29 +01:00
|
|
|
|
2022-11-17 10:28:51 +01:00
|
|
|
|
2022-11-17 10:28:54 +01:00
|
|
|
|
2022-11-17 10:28:51 +01:00
|
|
|
|
2022-11-17 10:28:54 +01:00
|
|
|
|
2019-08-27 13:58:49 +02:00
|
|
|
|
|
|
|
|
|
2022-11-14 14:00:28 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-14 14:00:29 +01:00
|
|
|
|
|
|
|
|
|
2022-11-14 14:00:28 +01:00
|
|
|
|
|
|
|
|
|
2022-11-14 14:00:29 +01:00
|
|
|
|
2022-11-14 14:00:28 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-28 09:19:37 +01:00
|
|
|
|
2022-11-14 14:00:31 +01:00
|
|
|
|
2022-11-14 14:00:30 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-17 10:28:51 +01:00
|
|
|
|
|
|
|
|
|
2022-11-14 14:00:28 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-17 07:43:32 +01:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-17 07:43:32 +01:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2023-02-09 14:55:09 +01:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
2018-02-19 23:53:55 +01:00
|
|
|
|
2011-04-17 07:43:32 +01:00
|
|
|
|
2018-02-19 23:53:55 +01:00
|
|
|
|
2011-04-17 07:43:32 +01:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
2019-07-15 05:31:06 -03:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
2015-03-04 09:30:09 +01:00
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-17 07:43:32 +01:00
|
|
|
|
|
|
|
|
|
2019-06-28 14:16:45 +02:00
|
|
|
|
2011-04-17 07:43:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:29 +01:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
2019-06-19 12:17:49 +02:00
|
|
|
|
2019-11-18 16:51:23 +01:00
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:49 +02:00
|
|
|
|
2022-11-14 14:00:28 +01:00
|
|
|
|
2011-04-17 07:43:32 +01:00
|
|
|
|
2019-11-18 16:51:32 +01:00
|
|
|
|
2019-11-18 16:51:30 +01:00
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:32 +01:00
|
|
|
|
2011-04-17 07:43:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-15 11:27:02 +02:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-09-29 18:31:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-09-29 18:31:07 +02:00
|
|
|
|
|
|
|
|
|
2022-09-29 18:31:06 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
2019-06-19 12:17:49 +02:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
2019-06-19 12:17:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:25 +01:00
|
|
|
|
2019-06-19 12:17:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-14 14:00:28 +01:00
|
|
|
|
|
|
|
|
|
2019-08-27 13:58:49 +02:00
|
|
|
|
2022-11-14 14:00:28 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-08-27 13:58:49 +02:00
|
|
|
|
2019-11-18 16:51:29 +01:00
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:50 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:50 +02:00
|
|
|
|
2019-06-19 12:17:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:28 +01:00
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:28 +01:00
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:49 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-11-18 16:51:24 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:49 +02:00
|
|
|
|
2019-11-18 16:51:29 +01:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:50 +02:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
2019-11-18 16:51:26 +01:00
|
|
|
|
2019-11-18 16:51:29 +01:00
|
|
|
|
2019-06-19 12:17:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-19 12:17:49 +02:00
|
|
|
|
2011-04-17 07:43:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-17 10:28:52 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-23 20:05:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-17 07:43:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-07 19:26:09 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022-11-17 10:28:52 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-04-17 07:43:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-08-06 10:08:32 +02:00
|
|
|
|
drm: Fix broken VT switch with video=1366x768 option
I noticed that the VT switch doesn't work any longer with a Dell
laptop with 1366x768 eDP when the machine is connected with a DP
monitor. It behaves as if VT were switched, but the graphics remain
frozen. Actually the keyboard works, so I could switch back to VT7
again.
I tried to track down the problem, and encountered a long story until
we reach to this error:
- The machine is booted with video=1366x768 option (the distro
installer seems to add it as default).
- Recently, drm_helper_probe_single_connector_modes() deals with
cmdline modes, and it tries to create a new mode when no
matching mode is found.
- The drm_mode_create_from_cmdline_mode() creates a mode based on
either CVT of GFT according to the given cmdline mode; in our case,
it's 1366x768.
- Since both CVT and GFT can't express the width 1366 due to
alignment, the resultant mode becomes 1368x768, slightly larger than
the given size.
- Later on, the atomic commit is performed, and in
drm_atomic_check_only(), the size of each plane is checked.
- The size check of 1366x768 fails due to the above, and eventually
the whole VT switch fails.
Back in the history, we've had a manual fix-up of 1368x768 in various
places via c09dedb7a50e ("drm/edid: Add a workaround for 1366x768 HD
panel"), but they have been all in drm_edid.c at probing the modes
from EDID. For addressing the problem above, we need a similar hack
to the mode newly created from cmdline, manually adjusting the width
when the expected size is 1366 while we get 1368 instead.
Fixes: eaf99c749d43 ("drm: Perform cmdline mode parsing during...")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20170109145614.29454-1-tiwai@suse.de
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
2017-01-09 15:56:14 +01:00
|
|
|
|
2017-01-17 17:43:29 +01:00
|
|
|
|
|
|
|
|
|
2011-04-17 07:43:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-05-22 13:34:48 +01:00
|
|
|
|
|
|
|
|
|
2020-11-16 11:18:01 +01:00
|
|
|
|
2015-05-22 13:34:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-04-28 20:19:27 +03:00
|
|
|
|
2015-05-22 13:34:48 +01:00
|
|
|
|
|
|
|
|
|
drm: Add aspect ratio parsing in DRM layer
Current DRM layer functions don't parse aspect ratio information
while converting a user mode->kernel mode or vice versa. This
causes modeset to pick mode with wrong aspect ratio, eventually
causing failures in HDMI compliance test cases, due to wrong VIC.
This patch adds aspect ratio information in DRM's mode conversion
and mode comparision functions, to make sure kernel picks mode
with right aspect ratio (as per the VIC).
Background:
This patch was once reviewed and merged, and later reverted due to
lack of DRM cap protection. This is a re-spin of this patch, this
time with DRM cap protection, to avoid aspect ratio information, when
the client doesn't request for it.
Review link: https://pw-emeril.freedesktop.org/patch/104068/
Background discussion: https://patchwork.kernel.org/patch/9379057/
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Lin, Jia <lin.a.jia@intel.com>
Signed-off-by: Akashdeep Sharma <akashdeep.sharma@intel.com>
Reviewed-by: Jim Bride <jim.bride@linux.intel.com> (V2)
Reviewed-by: Jose Abreu <Jose.Abreu@synopsys.com> (V4)
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Cc: Jose Abreu <Jose.Abreu@synopsys.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
V3: modified the aspect-ratio check in drm_mode_equal as per new flags
provided by Ville. https://patchwork.freedesktop.org/patch/188043/
V4: rebase
V5: rebase
V6: As recommended by Ville, avoided matching of aspect-ratio in
drm_fb_helper, while trying to find a common mode among connectors
for the target clone mode.
V7: rebase
V8: rebase
V9: rebase
V10: rebase
V11: rebase
V12: rebase
V13: rebase
V14: rebase
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1525777785-9740-10-git-send-email-ankit.k.nautiyal@intel.com
2018-05-08 16:39:44 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-05-08 16:39:45 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drm: Add aspect ratio parsing in DRM layer
Current DRM layer functions don't parse aspect ratio information
while converting a user mode->kernel mode or vice versa. This
causes modeset to pick mode with wrong aspect ratio, eventually
causing failures in HDMI compliance test cases, due to wrong VIC.
This patch adds aspect ratio information in DRM's mode conversion
and mode comparision functions, to make sure kernel picks mode
with right aspect ratio (as per the VIC).
Background:
This patch was once reviewed and merged, and later reverted due to
lack of DRM cap protection. This is a re-spin of this patch, this
time with DRM cap protection, to avoid aspect ratio information, when
the client doesn't request for it.
Review link: https://pw-emeril.freedesktop.org/patch/104068/
Background discussion: https://patchwork.kernel.org/patch/9379057/
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Lin, Jia <lin.a.jia@intel.com>
Signed-off-by: Akashdeep Sharma <akashdeep.sharma@intel.com>
Reviewed-by: Jim Bride <jim.bride@linux.intel.com> (V2)
Reviewed-by: Jose Abreu <Jose.Abreu@synopsys.com> (V4)
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Cc: Jose Abreu <Jose.Abreu@synopsys.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
V3: modified the aspect-ratio check in drm_mode_equal as per new flags
provided by Ville. https://patchwork.freedesktop.org/patch/188043/
V4: rebase
V5: rebase
V6: As recommended by Ville, avoided matching of aspect-ratio in
drm_fb_helper, while trying to find a common mode among connectors
for the target clone mode.
V7: rebase
V8: rebase
V9: rebase
V10: rebase
V11: rebase
V12: rebase
V13: rebase
V14: rebase
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1525777785-9740-10-git-send-email-ankit.k.nautiyal@intel.com
2018-05-08 16:39:44 +05:30
|
|
|
|
2019-06-20 17:26:37 +03:00
|
|
|
|
|
|
|
|
|
2020-08-23 17:36:59 -05:00
|
|
|
|
2019-06-20 17:26:37 +03:00
|
|
|
|
drm: Add aspect ratio parsing in DRM layer
Current DRM layer functions don't parse aspect ratio information
while converting a user mode->kernel mode or vice versa. This
causes modeset to pick mode with wrong aspect ratio, eventually
causing failures in HDMI compliance test cases, due to wrong VIC.
This patch adds aspect ratio information in DRM's mode conversion
and mode comparision functions, to make sure kernel picks mode
with right aspect ratio (as per the VIC).
Background:
This patch was once reviewed and merged, and later reverted due to
lack of DRM cap protection. This is a re-spin of this patch, this
time with DRM cap protection, to avoid aspect ratio information, when
the client doesn't request for it.
Review link: https://pw-emeril.freedesktop.org/patch/104068/
Background discussion: https://patchwork.kernel.org/patch/9379057/
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Lin, Jia <lin.a.jia@intel.com>
Signed-off-by: Akashdeep Sharma <akashdeep.sharma@intel.com>
Reviewed-by: Jim Bride <jim.bride@linux.intel.com> (V2)
Reviewed-by: Jose Abreu <Jose.Abreu@synopsys.com> (V4)
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Cc: Jose Abreu <Jose.Abreu@synopsys.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
V3: modified the aspect-ratio check in drm_mode_equal as per new flags
provided by Ville. https://patchwork.freedesktop.org/patch/188043/
V4: rebase
V5: rebase
V6: As recommended by Ville, avoided matching of aspect-ratio in
drm_fb_helper, while trying to find a common mode among connectors
for the target clone mode.
V7: rebase
V8: rebase
V9: rebase
V10: rebase
V11: rebase
V12: rebase
V13: rebase
V14: rebase
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1525777785-9740-10-git-send-email-ankit.k.nautiyal@intel.com
2018-05-08 16:39:44 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-10-16 22:38:20 +00:00
|
|
|
|
2015-05-22 13:34:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-11-16 11:18:01 +01:00
|
|
|
|
2017-11-14 20:32:57 +02:00
|
|
|
|
2015-05-22 13:34:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-11-14 20:32:57 +02:00
|
|
|
|
|
|
|
|
|
2015-05-22 13:34:48 +01:00
|
|
|
|
|
|
|
|
|
2018-03-13 17:07:57 +02:00
|
|
|
|
|
|
|
|
|
2015-05-22 13:34:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-21 23:12:46 +02:00
|
|
|
|
|
|
|
|
|
2021-07-30 21:27:29 +08:00
|
|
|
|
2018-03-21 23:12:46 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-10-16 22:38:20 +00:00
|
|
|
|
2015-05-22 13:34:48 +01:00
|
|
|
|
drm: Add aspect ratio parsing in DRM layer
Current DRM layer functions don't parse aspect ratio information
while converting a user mode->kernel mode or vice versa. This
causes modeset to pick mode with wrong aspect ratio, eventually
causing failures in HDMI compliance test cases, due to wrong VIC.
This patch adds aspect ratio information in DRM's mode conversion
and mode comparision functions, to make sure kernel picks mode
with right aspect ratio (as per the VIC).
Background:
This patch was once reviewed and merged, and later reverted due to
lack of DRM cap protection. This is a re-spin of this patch, this
time with DRM cap protection, to avoid aspect ratio information, when
the client doesn't request for it.
Review link: https://pw-emeril.freedesktop.org/patch/104068/
Background discussion: https://patchwork.kernel.org/patch/9379057/
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Lin, Jia <lin.a.jia@intel.com>
Signed-off-by: Akashdeep Sharma <akashdeep.sharma@intel.com>
Reviewed-by: Jim Bride <jim.bride@linux.intel.com> (V2)
Reviewed-by: Jose Abreu <Jose.Abreu@synopsys.com> (V4)
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Cc: Jose Abreu <Jose.Abreu@synopsys.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
V3: modified the aspect-ratio check in drm_mode_equal as per new flags
provided by Ville. https://patchwork.freedesktop.org/patch/188043/
V4: rebase
V5: rebase
V6: As recommended by Ville, avoided matching of aspect-ratio in
drm_fb_helper, while trying to find a common mode among connectors
for the target clone mode.
V7: rebase
V8: rebase
V9: rebase
V10: rebase
V11: rebase
V12: rebase
V13: rebase
V14: rebase
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1525777785-9740-10-git-send-email-ankit.k.nautiyal@intel.com
2018-05-08 16:39:44 +05:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-06-20 17:26:35 +03:00
|
|
|
|
drm: Add aspect ratio parsing in DRM layer
Current DRM layer functions don't parse aspect ratio information
while converting a user mode->kernel mode or vice versa. This
causes modeset to pick mode with wrong aspect ratio, eventually
causing failures in HDMI compliance test cases, due to wrong VIC.
This patch adds aspect ratio information in DRM's mode conversion
and mode comparision functions, to make sure kernel picks mode
with right aspect ratio (as per the VIC).
Background:
This patch was once reviewed and merged, and later reverted due to
lack of DRM cap protection. This is a re-spin of this patch, this
time with DRM cap protection, to avoid aspect ratio information, when
the client doesn't request for it.
Review link: https://pw-emeril.freedesktop.org/patch/104068/
Background discussion: https://patchwork.kernel.org/patch/9379057/
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Lin, Jia <lin.a.jia@intel.com>
Signed-off-by: Akashdeep Sharma <akashdeep.sharma@intel.com>
Reviewed-by: Jim Bride <jim.bride@linux.intel.com> (V2)
Reviewed-by: Jose Abreu <Jose.Abreu@synopsys.com> (V4)
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Cc: Jose Abreu <Jose.Abreu@synopsys.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
V3: modified the aspect-ratio check in drm_mode_equal as per new flags
provided by Ville. https://patchwork.freedesktop.org/patch/188043/
V4: rebase
V5: rebase
V6: As recommended by Ville, avoided matching of aspect-ratio in
drm_fb_helper, while trying to find a common mode among connectors
for the target clone mode.
V7: rebase
V8: rebase
V9: rebase
V10: rebase
V11: rebase
V12: rebase
V13: rebase
V14: rebase
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1525777785-9740-10-git-send-email-ankit.k.nautiyal@intel.com
2018-05-08 16:39:44 +05:30
|
|
|
|
|
|
|
|
|
2019-06-20 17:26:35 +03:00
|
|
|
|
drm: Add aspect ratio parsing in DRM layer
Current DRM layer functions don't parse aspect ratio information
while converting a user mode->kernel mode or vice versa. This
causes modeset to pick mode with wrong aspect ratio, eventually
causing failures in HDMI compliance test cases, due to wrong VIC.
This patch adds aspect ratio information in DRM's mode conversion
and mode comparision functions, to make sure kernel picks mode
with right aspect ratio (as per the VIC).
Background:
This patch was once reviewed and merged, and later reverted due to
lack of DRM cap protection. This is a re-spin of this patch, this
time with DRM cap protection, to avoid aspect ratio information, when
the client doesn't request for it.
Review link: https://pw-emeril.freedesktop.org/patch/104068/
Background discussion: https://patchwork.kernel.org/patch/9379057/
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Lin, Jia <lin.a.jia@intel.com>
Signed-off-by: Akashdeep Sharma <akashdeep.sharma@intel.com>
Reviewed-by: Jim Bride <jim.bride@linux.intel.com> (V2)
Reviewed-by: Jose Abreu <Jose.Abreu@synopsys.com> (V4)
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Cc: Jose Abreu <Jose.Abreu@synopsys.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
V3: modified the aspect-ratio check in drm_mode_equal as per new flags
provided by Ville. https://patchwork.freedesktop.org/patch/188043/
V4: rebase
V5: rebase
V6: As recommended by Ville, avoided matching of aspect-ratio in
drm_fb_helper, while trying to find a common mode among connectors
for the target clone mode.
V7: rebase
V8: rebase
V9: rebase
V10: rebase
V11: rebase
V12: rebase
V13: rebase
V14: rebase
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1525777785-9740-10-git-send-email-ankit.k.nautiyal@intel.com
2018-05-08 16:39:44 +05:30
|
|
|
|
2018-05-08 16:39:45 +05:30
|
|
|
|
2019-06-20 17:26:35 +03:00
|
|
|
|
2018-05-08 16:39:45 +05:30
|
|
|
|
|
|
|
|
|
2019-06-20 17:26:35 +03:00
|
|
|
|
2018-05-08 16:39:45 +05:30
|
|
|
|
2019-06-20 17:26:36 +03:00
|
|
|
|
drm: Add aspect ratio parsing in DRM layer
Current DRM layer functions don't parse aspect ratio information
while converting a user mode->kernel mode or vice versa. This
causes modeset to pick mode with wrong aspect ratio, eventually
causing failures in HDMI compliance test cases, due to wrong VIC.
This patch adds aspect ratio information in DRM's mode conversion
and mode comparision functions, to make sure kernel picks mode
with right aspect ratio (as per the VIC).
Background:
This patch was once reviewed and merged, and later reverted due to
lack of DRM cap protection. This is a re-spin of this patch, this
time with DRM cap protection, to avoid aspect ratio information, when
the client doesn't request for it.
Review link: https://pw-emeril.freedesktop.org/patch/104068/
Background discussion: https://patchwork.kernel.org/patch/9379057/
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Lin, Jia <lin.a.jia@intel.com>
Signed-off-by: Akashdeep Sharma <akashdeep.sharma@intel.com>
Reviewed-by: Jim Bride <jim.bride@linux.intel.com> (V2)
Reviewed-by: Jose Abreu <Jose.Abreu@synopsys.com> (V4)
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Cc: Jose Abreu <Jose.Abreu@synopsys.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
V3: modified the aspect-ratio check in drm_mode_equal as per new flags
provided by Ville. https://patchwork.freedesktop.org/patch/188043/
V4: rebase
V5: rebase
V6: As recommended by Ville, avoided matching of aspect-ratio in
drm_fb_helper, while trying to find a common mode among connectors
for the target clone mode.
V7: rebase
V8: rebase
V9: rebase
V10: rebase
V11: rebase
V12: rebase
V13: rebase
V14: rebase
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1525777785-9740-10-git-send-email-ankit.k.nautiyal@intel.com
2018-05-08 16:39:44 +05:30
|
|
|
|
|
|
|
|
|
2019-06-20 17:26:36 +03:00
|
|
|
|
|
|
|
|
|
drm: Add aspect ratio parsing in DRM layer
Current DRM layer functions don't parse aspect ratio information
while converting a user mode->kernel mode or vice versa. This
causes modeset to pick mode with wrong aspect ratio, eventually
causing failures in HDMI compliance test cases, due to wrong VIC.
This patch adds aspect ratio information in DRM's mode conversion
and mode comparision functions, to make sure kernel picks mode
with right aspect ratio (as per the VIC).
Background:
This patch was once reviewed and merged, and later reverted due to
lack of DRM cap protection. This is a re-spin of this patch, this
time with DRM cap protection, to avoid aspect ratio information, when
the client doesn't request for it.
Review link: https://pw-emeril.freedesktop.org/patch/104068/
Background discussion: https://patchwork.kernel.org/patch/9379057/
Signed-off-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Lin, Jia <lin.a.jia@intel.com>
Signed-off-by: Akashdeep Sharma <akashdeep.sharma@intel.com>
Reviewed-by: Jim Bride <jim.bride@linux.intel.com> (V2)
Reviewed-by: Jose Abreu <Jose.Abreu@synopsys.com> (V4)
Cc: Ville Syrjala <ville.syrjala@linux.intel.com>
Cc: Jim Bride <jim.bride@linux.intel.com>
Cc: Jose Abreu <Jose.Abreu@synopsys.com>
Cc: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
V3: modified the aspect-ratio check in drm_mode_equal as per new flags
provided by Ville. https://patchwork.freedesktop.org/patch/188043/
V4: rebase
V5: rebase
V6: As recommended by Ville, avoided matching of aspect-ratio in
drm_fb_helper, while trying to find a common mode among connectors
for the target clone mode.
V7: rebase
V8: rebase
V9: rebase
V10: rebase
V11: rebase
V12: rebase
V13: rebase
V14: rebase
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1525777785-9740-10-git-send-email-ankit.k.nautiyal@intel.com
2018-05-08 16:39:44 +05:30
|
|
|
|
|
|
|
|
|
2017-11-14 20:32:57 +02:00
|
|
|
|
2015-05-22 13:34:48 +01:00
|
|
|
|
2018-03-13 17:07:57 +02:00
|
|
|
|
2015-05-22 13:34:48 +01:00
|
|
|
|
2016-05-31 15:03:15 +03:00
|
|
|
|
|
|
|
|
|
2018-03-13 17:07:57 +02:00
|
|
|
|
2015-11-25 18:07:55 +01:00
|
|
|
|
2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