Re: [igt-dev] [PATCH v4 08/13] chamelium: Use preferred mode when testing a single mode

Maxime Ripard
2018-08-24T07:49:44Z

[-- Attachment #1.1: Type: text/plain, Size: 620 bytes --]

Hi Ville,

On Thu, Aug 23, 2018 at 06:17:48PM +0300, Ville Syrjälä wrote:
> On Thu, Jul 26, 2018 at 12:42:07PM +0200, Maxime Ripard wrote:
> > The current code is testing the first mode in the connector list when it's
> > testing a single mode. While this is arbitrarily chosen, it makes more
> > sense to use the preferred mode reported by the display.
>
> The kernel sorts modes such that preferred modes appear before
> non-preferred modes.

Ah, that's good to know. I've dropped that patch then, thanks!
Maxime

--
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]