Commit 17339233 authored by Daniel Stone's avatar Daniel Stone

compositor-drm: Comment struct members

Clarify the difference between crtc_id (DRM object) and pipe (index into
drmModeRes->crtcs array, possible_crtcs bitmask).
Signed-off-by: Daniel Stone's avatarDaniel Stone <>
Reviewed-by: Quentin Glidic's avatarQuentin Glidic <>
Reviewed-by: default avatarArmin Krezović <>
Differential Revision:
parent f15320fa
...@@ -155,8 +155,8 @@ struct drm_output { ...@@ -155,8 +155,8 @@ struct drm_output {
struct weston_output base; struct weston_output base;
drmModeConnector *connector; drmModeConnector *connector;
uint32_t crtc_id; uint32_t crtc_id; /* object ID to pass to DRM functions */
int pipe; int pipe; /* index of CRTC in resource array / bitmasks */
uint32_t connector_id; uint32_t connector_id;
drmModeCrtcPtr original_crtc; drmModeCrtcPtr original_crtc;
struct drm_edid edid; struct drm_edid edid;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment