|
XenevaOS
|
#include <drm_connector.h>

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 |
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.
| int drm_cmdline_mode::bpp |
@bpp:
Bits per pixels for the mode.
| bool drm_cmdline_mode::bpp_specified |
@bpp_specified:
Did the mode have a preferred BPP?
| 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.
| 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.
| bool drm_cmdline_mode::interlace |
@interlace:
The mode is interlaced.
| 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).
| char drm_cmdline_mode::name[DRM_DISPLAY_MODE_LEN] |
| 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.
| unsigned int drm_cmdline_mode::pixel_clock |
@pixel_clock:
Pixel Clock in kHz. Optional.
| bool drm_cmdline_mode::rb |
@rb:
Do we need to use reduced blanking?
| int drm_cmdline_mode::refresh |
@refresh:
Refresh rate, in Hertz.
| bool drm_cmdline_mode::refresh_specified |
@refresh_specified:
Did the mode have a preferred refresh rate?
| 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.
| bool drm_cmdline_mode::specified |
@specified:
Has a mode been read from the command-line?
| struct drm_connector_tv_margins drm_cmdline_mode::tv_margins |
@tv_margins: TV margins to apply to the mode.
| enum drm_connector_tv_mode drm_cmdline_mode::tv_mode |
@tv_mode: TV mode standard. See DRM_MODE_TV_MODE_*.
| bool drm_cmdline_mode::tv_mode_specified |
@tv_mode_specified:
Did the mode have a preferred TV mode?
| int drm_cmdline_mode::xres |
@xres:
Active resolution on the X axis, in pixels.
| int drm_cmdline_mode::yres |
@yres:
Active resolution on the Y axis, in pixels.