[PATCH] drm: Only create a cmdline mode if no probed modes match

2015-04-20 Thread Radek Dostál
Hi Chris, On 04/20/2015 02:26 PM, Chris Wilson wrote: > The intention of using video=: the user's preferred resolution at startup. Currently we always create a > GTF mode irrespective of whether the monitor has a native mode at the > desired resolution. This has the issue that we may then select t

[PATCH] drm: Only create a cmdline mode if no probed modes match

2015-04-20 Thread Chris Wilson
On Mon, Apr 20, 2015 at 03:06:30PM +0200, Radek Dostál wrote: > Hi Chris, > > On 04/20/2015 02:26 PM, Chris Wilson wrote: > > The intention of using video=: > the user's preferred resolution at startup. Currently we always create a > > GTF mode irrespective of whether the monitor has a native mod

[PATCH] drm: Only create a cmdline mode if no probed modes match

2015-04-20 Thread Chris Wilson
The intention of using video=:inital_config() and so on a non-GTF monitor we then end up with a loss of signal. Oops. This invalid fake mode would also be exported to userspace, who potentially may make the same mistake. To avoid this issue, we filter out the added command line mode if we detect t