Configure display display_id

This section specifies the configuration applied to the physical displays supported by the platform.

This section must begin with begin display display_id and end with end display.

There can be multiple display sections within a configuration file. The number of display sections depends on the number of physical displays supported by the platform.

The display_id is used to identify the display to which the display section pertains. The display_id can be a number identifying the display or it can be the connection type of the display. If the display_id is an integer, Screen will apply the configuration parameters to the display corresponding to the integer specified as the display_id. Otherwise, if the configuration is a string that matches one of the valid display connection types, then Screen will apply the configuration parameters to the first available display whose connection type matches that specified as the display_id.

Below is an example of a display section of a graphics.conf file. In this example, the display_id is a connection type of hdmi; therefore, the configuration parameters will be applied to the first available display that supports hdmi.
  begin display hdmi
    formats = rgba8888 rgbx8888 nv12
    video-mode = 1280 x 720 @ 60
  end display