summaryrefslogtreecommitdiff
path: root/src/uxa/intel_display.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2014-09-08 17:46:18 +1000
committerChris Wilson <chris@chris-wilson.co.uk>2014-09-08 08:49:49 +0100
commit84fb3bb65ff917b908a1036540432bfd5525481d (patch)
treeda7a2fc98e36ce4eb2738e71e4b0afc8a14e5a38 /src/uxa/intel_display.c
parent001c542618aad25137029dcc28aa520766040964 (diff)
uxa: actually create the randr outputs for hotplug connectors
I somehow lost this chunk in my mst patch I sent. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/uxa/intel_display.c')
-rw-r--r--src/uxa/intel_display.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/uxa/intel_display.c b/src/uxa/intel_display.c
index c5f0620e..97af76d4 100644
--- a/src/uxa/intel_display.c
+++ b/src/uxa/intel_display.c
@@ -1524,6 +1524,12 @@ intel_output_init(ScrnInfoPtr scrn, struct intel_mode *mode, drmModeResPtr mode_
output->interlaceAllowed = TRUE;
intel_output->output = output;
+
+ if (dynamic) {
+ output->randr_output = RROutputCreate(xf86ScrnToScreen(scrn), output->name, strlen(output->name), output);
+ intel_output_create_resources(output);
+ }
+
list_add(&intel_output->link, &mode->outputs);
return;