diff options
author | Dave Airlie <airlied@redhat.com> | 2009-11-17 15:10:04 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-11-17 15:16:57 +1000 |
commit | 06d68f7fa3870f9601e837e1834d33e8395008b1 (patch) | |
tree | c6b9348e5511f869dd744b3ab8d82cdc0bac188a /src/drmmode_display.h | |
parent | 7587ce16ab0380337fe801f457c1d1d9b4141cc5 (diff) |
kms: add cloning support.
We have to translate from the kernel encoder cloning to the randr
connector cloning, we do this by constructing an encoder mask per output
and an encoder cloning mask per output then comparing them.
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/drmmode_display.h')
-rw-r--r-- | src/drmmode_display.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drmmode_display.h b/src/drmmode_display.h index 1410afed..371ad18e 100644 --- a/src/drmmode_display.h +++ b/src/drmmode_display.h @@ -64,11 +64,13 @@ typedef struct { drmmode_ptr drmmode; int output_id; drmModeConnectorPtr mode_output; - drmModeEncoderPtr mode_encoder; + drmModeEncoderPtr *mode_encoders; drmModePropertyBlobPtr edid_blob; int dpms_enum_id; int num_props; drmmode_prop_ptr props; + int enc_mask; + int enc_clone_mask; } drmmode_output_private_rec, *drmmode_output_private_ptr; |