Skip to content

Instantly share code, notes, and snippets.

@rcombs

rcombs/stdin Secret

Created April 20, 2018 22:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rcombs/e37043818f1c3ba515f73dfa58ecbdc8 to your computer and use it in GitHub Desktop.
Save rcombs/e37043818f1c3ba515f73dfa58ecbdc8 to your computer and use it in GitHub Desktop.
Device: /dev/dri/card0
├───Driver: i915 1.6.0 20170818
│ ├───DRM_CLIENT_CAP_STEREO_3D supported
│ ├───DRM_CLIENT_CAP_UNIVERSAL_PLANES supported
│ └───DRM_CLIENT_CAP_ATOMIC supported
├───Connectors
│ ├───Connector 0
│ │ ├───Type: DP
│ │ ├───Encoders: {0}
│ │ └───Properties
│ │ ├───"EDID" (Immutable): Blob
│ │ ├───"DPMS": Enum {On, Standby, Suspend, Off}
│ │ ├───"link-status": Enum {Good, Bad}
│ │ ├───"CRTC_ID" (Atomic): Object CRTC
│ │ ├───"audio": Enum {force-dvi, off, auto, on}
│ │ └───"Broadcast RGB": Enum {Automatic, Full, Limited 16:235}
│ ├───Connector 1
│ │ ├───Type: HDMI-A
│ │ ├───Encoders: {0}
│ │ └───Properties
│ │ ├───"EDID" (Immutable): Blob
│ │ ├───"DPMS": Enum {On, Standby, Suspend, Off}
│ │ ├───"link-status": Enum {Good, Bad}
│ │ ├───"CRTC_ID" (Atomic): Object CRTC
│ │ ├───"audio": Enum {force-dvi, off, auto, on}
│ │ ├───"Broadcast RGB": Enum {Automatic, Full, Limited 16:235}
│ │ └───"aspect ratio": Enum {Automatic, 4:3, 16:9}
│ ├───Connector 2
│ │ ├───Type: HDMI-A
│ │ ├───Encoders: {4}
│ │ └───Properties
│ │ ├───"EDID" (Immutable): Blob
│ │ ├───"DPMS": Enum {On, Standby, Suspend, Off}
│ │ ├───"link-status": Enum {Good, Bad}
│ │ ├───"CRTC_ID" (Atomic): Object CRTC
│ │ ├───"audio": Enum {force-dvi, off, auto, on}
│ │ ├───"Broadcast RGB": Enum {Automatic, Full, Limited 16:235}
│ │ └───"aspect ratio": Enum {Automatic, 4:3, 16:9}
│ ├───Connector 3
│ │ ├───Type: DP
│ │ ├───Encoders: {5}
│ │ └───Properties
│ │ ├───"EDID" (Immutable): Blob
│ │ ├───"DPMS": Enum {On, Standby, Suspend, Off}
│ │ ├───"link-status": Enum {Good, Bad}
│ │ ├───"CRTC_ID" (Atomic): Object CRTC
│ │ ├───"audio": Enum {force-dvi, off, auto, on}
│ │ └───"Broadcast RGB": Enum {Automatic, Full, Limited 16:235}
│ └───Connector 4
│ ├───Type: HDMI-A
│ ├───Encoders: {5}
│ └───Properties
│ ├───"EDID" (Immutable): Blob
│ ├───"DPMS": Enum {On, Standby, Suspend, Off}
│ ├───"link-status": Enum {Good, Bad}
│ ├───"CRTC_ID" (Atomic): Object CRTC
│ ├───"audio": Enum {force-dvi, off, auto, on}
│ ├───"Broadcast RGB": Enum {Automatic, Full, Limited 16:235}
│ └───"aspect ratio": Enum {Automatic, 4:3, 16:9}
├───Encoders
│ ├───Encoder 0
│ │ ├───Type: TMDS
│ │ ├───CRTCS: {0, 1, 2}
│ │ └───Clones: {0}
│ ├───Encoder 1
│ │ ├───Type: DP MST
│ │ ├───CRTCS: {0, 1, 2}
│ │ └───Clones: {1}
│ ├───Encoder 2
│ │ ├───Type: DP MST
│ │ ├───CRTCS: {0, 1, 2}
│ │ └───Clones: {2}
│ ├───Encoder 3
│ │ ├───Type: DP MST
│ │ ├───CRTCS: {0, 1, 2}
│ │ └───Clones: {3}
│ ├───Encoder 4
│ │ ├───Type: TMDS
│ │ ├───CRTCS: {0, 1, 2}
│ │ └───Clones: {4}
│ ├───Encoder 5
│ │ ├───Type: TMDS
│ │ ├───CRTCS: {0, 1, 2}
│ │ └───Clones: {5}
│ ├───Encoder 6
│ │ ├───Type: DP MST
│ │ ├───CRTCS: {0, 1, 2}
│ │ └───Clones: {6}
│ ├───Encoder 7
│ │ ├───Type: DP MST
│ │ ├───CRTCS: {0, 1, 2}
│ │ └───Clones: {7}
│ └───Encoder 8
│ ├───Type: DP MST
│ ├───CRTCS: {0, 1, 2}
│ └───Clones: {8}
├───CRTCs
│ ├───CRTC 0
│ │ └───Properties
│ │ ├───"ACTIVE" (Atomic): Range [0, 1]
│ │ ├───"MODE_ID" (Atomic): Blob
│ │ ├───"OUT_FENCE_PTR" (Atomic): Range [0, UINT64_MAX]
│ │ ├───"DEGAMMA_LUT": Blob
│ │ ├───"DEGAMMA_LUT_SIZE" (Immutable): Range [0, UINT32_MAX] - 512
│ │ ├───"CTM": Blob
│ │ ├───"GAMMA_LUT": Blob
│ │ └───"GAMMA_LUT_SIZE" (Immutable): Range [0, UINT32_MAX] - 512
│ ├───CRTC 1
│ │ └───Properties
│ │ ├───"ACTIVE" (Atomic): Range [0, 1]
│ │ ├───"MODE_ID" (Atomic): Blob
│ │ ├───"OUT_FENCE_PTR" (Atomic): Range [0, UINT64_MAX]
│ │ ├───"DEGAMMA_LUT": Blob
│ │ ├───"DEGAMMA_LUT_SIZE" (Immutable): Range [0, UINT32_MAX] - 512
│ │ ├───"CTM": Blob
│ │ ├───"GAMMA_LUT": Blob
│ │ └───"GAMMA_LUT_SIZE" (Immutable): Range [0, UINT32_MAX] - 512
│ └───CRTC 2
│ └───Properties
│ ├───"ACTIVE" (Atomic): Range [0, 1]
│ ├───"MODE_ID" (Atomic): Blob
│ ├───"OUT_FENCE_PTR" (Atomic): Range [0, UINT64_MAX]
│ ├───"DEGAMMA_LUT": Blob
│ ├───"DEGAMMA_LUT_SIZE" (Immutable): Range [0, UINT32_MAX] - 512
│ ├───"CTM": Blob
│ ├───"GAMMA_LUT": Blob
│ └───"GAMMA_LUT_SIZE" (Immutable): Range [0, UINT32_MAX] - 512
└───Planes
├───Plane 0
│ ├───CRTCS: {0}
│ ├───Formats:
│ │ ├───C8
│ │ ├───RGB565
│ │ ├───XRGB8888
│ │ ├───XBGR8888
│ │ ├───ARGB8888
│ │ ├───ABGR8888
│ │ ├───XRGB2101010
│ │ ├───XBGR2101010
│ │ ├───YUYV
│ │ ├───YVYU
│ │ ├───UYVY
│ │ └───VYUY
│ └───Properties
│ ├───"type" (Immutable): Enum {Overlay, Primary, Cursor} - Primary
│ ├───"FB_ID" (Atomic): Object Framebuffer
│ ├───"IN_FENCE_FD" (Atomic): SRange [-1, INT32_MAX]
│ ├───"CRTC_ID" (Atomic): Object CRTC
│ ├───"CRTC_X" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_Y" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_W" (Atomic): Range [0, INT32_MAX]
│ ├───"CRTC_H" (Atomic): Range [0, INT32_MAX]
│ ├───"SRC_X" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_Y" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_W" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_H" (Atomic): Range [0, UINT32_MAX]
│ ├───"IN_FORMATS" (Immutable): Blob
│ └───"rotation": Bitmask
├───Plane 1
│ ├───CRTCS: {0}
│ ├───Formats:
│ │ ├───RGB565
│ │ ├───ABGR8888
│ │ ├───ARGB8888
│ │ ├───XBGR8888
│ │ ├───XRGB8888
│ │ ├───YUYV
│ │ ├───YVYU
│ │ ├───UYVY
│ │ └───VYUY
│ └───Properties
│ ├───"type" (Immutable): Enum {Overlay, Primary, Cursor} - Overlay
│ ├───"FB_ID" (Atomic): Object Framebuffer
│ ├───"IN_FENCE_FD" (Atomic): SRange [-1, INT32_MAX]
│ ├───"CRTC_ID" (Atomic): Object CRTC
│ ├───"CRTC_X" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_Y" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_W" (Atomic): Range [0, INT32_MAX]
│ ├───"CRTC_H" (Atomic): Range [0, INT32_MAX]
│ ├───"SRC_X" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_Y" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_W" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_H" (Atomic): Range [0, UINT32_MAX]
│ ├───"IN_FORMATS" (Immutable): Blob
│ └───"rotation": Bitmask
├───Plane 2
│ ├───CRTCS: {0}
│ ├───Formats:
│ │ └───ARGB8888
│ └───Properties
│ ├───"type" (Immutable): Enum {Overlay, Primary, Cursor} - Cursor
│ ├───"FB_ID" (Atomic): Object Framebuffer
│ ├───"IN_FENCE_FD" (Atomic): SRange [-1, INT32_MAX]
│ ├───"CRTC_ID" (Atomic): Object CRTC
│ ├───"CRTC_X" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_Y" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_W" (Atomic): Range [0, INT32_MAX]
│ ├───"CRTC_H" (Atomic): Range [0, INT32_MAX]
│ ├───"SRC_X" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_Y" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_W" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_H" (Atomic): Range [0, UINT32_MAX]
│ ├───"IN_FORMATS" (Immutable): Blob
│ └───"rotation": Bitmask
├───Plane 3
│ ├───CRTCS: {1}
│ ├───Formats:
│ │ ├───C8
│ │ ├───RGB565
│ │ ├───XRGB8888
│ │ ├───XBGR8888
│ │ ├───ARGB8888
│ │ ├───ABGR8888
│ │ ├───XRGB2101010
│ │ ├───XBGR2101010
│ │ ├───YUYV
│ │ ├───YVYU
│ │ ├───UYVY
│ │ └───VYUY
│ └───Properties
│ ├───"type" (Immutable): Enum {Overlay, Primary, Cursor} - Primary
│ ├───"FB_ID" (Atomic): Object Framebuffer
│ ├───"IN_FENCE_FD" (Atomic): SRange [-1, INT32_MAX]
│ ├───"CRTC_ID" (Atomic): Object CRTC
│ ├───"CRTC_X" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_Y" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_W" (Atomic): Range [0, INT32_MAX]
│ ├───"CRTC_H" (Atomic): Range [0, INT32_MAX]
│ ├───"SRC_X" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_Y" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_W" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_H" (Atomic): Range [0, UINT32_MAX]
│ ├───"IN_FORMATS" (Immutable): Blob
│ └───"rotation": Bitmask
├───Plane 4
│ ├───CRTCS: {1}
│ ├───Formats:
│ │ ├───RGB565
│ │ ├───ABGR8888
│ │ ├───ARGB8888
│ │ ├───XBGR8888
│ │ ├───XRGB8888
│ │ ├───YUYV
│ │ ├───YVYU
│ │ ├───UYVY
│ │ └───VYUY
│ └───Properties
│ ├───"type" (Immutable): Enum {Overlay, Primary, Cursor} - Overlay
│ ├───"FB_ID" (Atomic): Object Framebuffer
│ ├───"IN_FENCE_FD" (Atomic): SRange [-1, INT32_MAX]
│ ├───"CRTC_ID" (Atomic): Object CRTC
│ ├───"CRTC_X" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_Y" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_W" (Atomic): Range [0, INT32_MAX]
│ ├───"CRTC_H" (Atomic): Range [0, INT32_MAX]
│ ├───"SRC_X" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_Y" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_W" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_H" (Atomic): Range [0, UINT32_MAX]
│ ├───"IN_FORMATS" (Immutable): Blob
│ └───"rotation": Bitmask
├───Plane 5
│ ├───CRTCS: {1}
│ ├───Formats:
│ │ └───ARGB8888
│ └───Properties
│ ├───"type" (Immutable): Enum {Overlay, Primary, Cursor} - Cursor
│ ├───"FB_ID" (Atomic): Object Framebuffer
│ ├───"IN_FENCE_FD" (Atomic): SRange [-1, INT32_MAX]
│ ├───"CRTC_ID" (Atomic): Object CRTC
│ ├───"CRTC_X" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_Y" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_W" (Atomic): Range [0, INT32_MAX]
│ ├───"CRTC_H" (Atomic): Range [0, INT32_MAX]
│ ├───"SRC_X" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_Y" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_W" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_H" (Atomic): Range [0, UINT32_MAX]
│ ├───"IN_FORMATS" (Immutable): Blob
│ └───"rotation": Bitmask
├───Plane 6
│ ├───CRTCS: {2}
│ ├───Formats:
│ │ ├───C8
│ │ ├───RGB565
│ │ ├───XRGB8888
│ │ ├───XBGR8888
│ │ ├───ARGB8888
│ │ ├───ABGR8888
│ │ ├───XRGB2101010
│ │ ├───XBGR2101010
│ │ ├───YUYV
│ │ ├───YVYU
│ │ ├───UYVY
│ │ └───VYUY
│ └───Properties
│ ├───"type" (Immutable): Enum {Overlay, Primary, Cursor} - Primary
│ ├───"FB_ID" (Atomic): Object Framebuffer
│ ├───"IN_FENCE_FD" (Atomic): SRange [-1, INT32_MAX]
│ ├───"CRTC_ID" (Atomic): Object CRTC
│ ├───"CRTC_X" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_Y" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_W" (Atomic): Range [0, INT32_MAX]
│ ├───"CRTC_H" (Atomic): Range [0, INT32_MAX]
│ ├───"SRC_X" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_Y" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_W" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_H" (Atomic): Range [0, UINT32_MAX]
│ ├───"IN_FORMATS" (Immutable): Blob
│ └───"rotation": Bitmask
├───Plane 7
│ ├───CRTCS: {2}
│ ├───Formats:
│ │ ├───RGB565
│ │ ├───ABGR8888
│ │ ├───ARGB8888
│ │ ├───XBGR8888
│ │ ├───XRGB8888
│ │ ├───YUYV
│ │ ├───YVYU
│ │ ├───UYVY
│ │ └───VYUY
│ └───Properties
│ ├───"type" (Immutable): Enum {Overlay, Primary, Cursor} - Overlay
│ ├───"FB_ID" (Atomic): Object Framebuffer
│ ├───"IN_FENCE_FD" (Atomic): SRange [-1, INT32_MAX]
│ ├───"CRTC_ID" (Atomic): Object CRTC
│ ├───"CRTC_X" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_Y" (Atomic): SRange [INT32_MIN, INT32_MAX]
│ ├───"CRTC_W" (Atomic): Range [0, INT32_MAX]
│ ├───"CRTC_H" (Atomic): Range [0, INT32_MAX]
│ ├───"SRC_X" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_Y" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_W" (Atomic): Range [0, UINT32_MAX]
│ ├───"SRC_H" (Atomic): Range [0, UINT32_MAX]
│ ├───"IN_FORMATS" (Immutable): Blob
│ └───"rotation": Bitmask
└───Plane 8
├───CRTCS: {2}
├───Formats:
│ └───ARGB8888
└───Properties
├───"type" (Immutable): Enum {Overlay, Primary, Cursor} - Cursor
├───"FB_ID" (Atomic): Object Framebuffer
├───"IN_FENCE_FD" (Atomic): SRange [-1, INT32_MAX]
├───"CRTC_ID" (Atomic): Object CRTC
├───"CRTC_X" (Atomic): SRange [INT32_MIN, INT32_MAX]
├───"CRTC_Y" (Atomic): SRange [INT32_MIN, INT32_MAX]
├───"CRTC_W" (Atomic): Range [0, INT32_MAX]
├───"CRTC_H" (Atomic): Range [0, INT32_MAX]
├───"SRC_X" (Atomic): Range [0, UINT32_MAX]
├───"SRC_Y" (Atomic): Range [0, UINT32_MAX]
├───"SRC_W" (Atomic): Range [0, UINT32_MAX]
├───"SRC_H" (Atomic): Range [0, UINT32_MAX]
├───"IN_FORMATS" (Immutable): Blob
└───"rotation": Bitmask
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment