[Intel-gfx] [PATCH 1/2] drm: add helper to sort panels to the head of the connector list

Adam Jackson ajax at redhat.com
Wed Oct 31 20:59:44 CET 2012


On 10/27/12 9:52 AM, Daniel Vetter wrote:
> Userspace seems to like this, see
>
> commit cb0953d734348e8862d6d7edc666cfb3bf6d8fae
> Author: Adam Jackson <ajax at redhat.com>
> Date:   Fri Jul 16 14:46:29 2010 -0400
>
>      drm/i915: Initialize LVDS and eDP outputs before anything else
>
>      This makes them sort to the front in X, which makes them likely to be
>      the primary outputs if you haven't specified a preference in your DE,
>      which is likely to be what you want.
>
>      Signed-off-by: Adam Jackson <ajax at redhat.com>
>      Signed-off-by: Eric Anholt <eric at anholt.net>
>
> Sorting the connector list after the fact is much easier than trying
> to be clever with the init sequence.

Entirely reasonable.

Reviewed-by: Adam Jackson <ajax at redhat.com>

- ajax




More information about the Intel-gfx mailing list