drm_helper_move_panel_connectors_to_head
Prev | Modeset Helper Functions Reference | Next

## Name

drm_helper_move_panel_connectors_to_head — move panels to the front in the connector list

## Synopsis

`void drm_helper_move_panel_connectors_to_head (` | struct drm_device * dev`)`;

## Arguments

`dev`

  drm device to operate on

## Description

Some userspace presumes that the first connected connector is the main display, where it's supposed to display e.g. the login screen. For laptops, this should be the main panel. Use this function to sort all (eDP/LVDS) panels to the front of the connector list, instead of painstakingly trying to initialize them in the right order.

Prev | Up | Next
Mode Setting Helper Functions | Home | drm_helper_probe_single_connector_modes