XenevaOS
Loading...
Searching...
No Matches
List of all members
drm_cmdline_mode Struct Reference

#include <drm_connector.h>

Collaboration diagram for drm_cmdline_mode:
Collaboration graph
[legend]

Public Attributes

:

Name of the mode.

char name [DRM_DISPLAY_MODE_LEN]
 
bool specified
 
bool refresh_specified
 
bool bpp_specified
 
unsigned int pixel_clock
 
int xres
 
int yres
 
int bpp
 
int refresh
 
bool rb
 
bool interlace
 
bool cvt
 
bool margins
 
enum drm_connector_force force
 
unsigned int rotation_reflection
 
enum drm_panel_orientation panel_orientation
 
struct drm_connector_tv_margins tv_margins
 
enum drm_connector_tv_mode tv_mode
 
bool tv_mode_specified
 

Detailed Description

struct drm_cmdline_mode - DRM Mode passed through the kernel command-line

Each connector can have an initial mode with additional options passed through the kernel command line. This structure allows to express those parameters and will be filled by the command-line parser.

Member Data Documentation

◆ bpp

int drm_cmdline_mode::bpp

@bpp:

Bits per pixels for the mode.

◆ bpp_specified

bool drm_cmdline_mode::bpp_specified

@bpp_specified:

Did the mode have a preferred BPP?

◆ cvt

bool drm_cmdline_mode::cvt

@cvt:

The timings will be calculated using the VESA Coordinated Video Timings instead of looking up the mode from a table.

◆ force

enum drm_connector_force drm_cmdline_mode::force

@force:

Ignore the hotplug state of the connector, and force its state to one of the DRM_FORCE_* values.

◆ interlace

bool drm_cmdline_mode::interlace

@interlace:

The mode is interlaced.

◆ margins

bool drm_cmdline_mode::margins

@margins:

Add margins to the mode calculation (1.8% of xres rounded down to 8 pixels and 1.8% of yres).

◆ name

char drm_cmdline_mode::name[DRM_DISPLAY_MODE_LEN]

◆ panel_orientation

enum drm_panel_orientation drm_cmdline_mode::panel_orientation

@panel_orientation:

drm-connector "panel orientation" property override value, DRM_MODE_PANEL_ORIENTATION_UNKNOWN if not set.

◆ pixel_clock

unsigned int drm_cmdline_mode::pixel_clock

@pixel_clock:

Pixel Clock in kHz. Optional.

◆ rb

bool drm_cmdline_mode::rb

@rb:

Do we need to use reduced blanking?

◆ refresh

int drm_cmdline_mode::refresh

@refresh:

Refresh rate, in Hertz.

◆ refresh_specified

bool drm_cmdline_mode::refresh_specified

@refresh_specified:

Did the mode have a preferred refresh rate?

◆ rotation_reflection

unsigned int drm_cmdline_mode::rotation_reflection

@rotation_reflection:

Initial rotation and reflection of the mode setup from the command line. See DRM_MODE_ROTATE_* and DRM_MODE_REFLECT_*. The only rotations supported are DRM_MODE_ROTATE_0 and DRM_MODE_ROTATE_180.

◆ specified

bool drm_cmdline_mode::specified

@specified:

Has a mode been read from the command-line?

◆ tv_margins

struct drm_connector_tv_margins drm_cmdline_mode::tv_margins

@tv_margins: TV margins to apply to the mode.

◆ tv_mode

enum drm_connector_tv_mode drm_cmdline_mode::tv_mode

@tv_mode: TV mode standard. See DRM_MODE_TV_MODE_*.

◆ tv_mode_specified

bool drm_cmdline_mode::tv_mode_specified

@tv_mode_specified:

Did the mode have a preferred TV mode?

◆ xres

int drm_cmdline_mode::xres

@xres:

Active resolution on the X axis, in pixels.

◆ yres

int drm_cmdline_mode::yres

@yres:

Active resolution on the Y axis, in pixels.


The documentation for this struct was generated from the following file: