diff options
author | Dave Airlie <airlied@redhat.com> | 2014-09-08 17:46:18 +1000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-09-08 08:49:49 +0100 |
commit | 84fb3bb65ff917b908a1036540432bfd5525481d (patch) | |
tree | da7a2fc98e36ce4eb2738e71e4b0afc8a14e5a38 | |
parent | 001c542618aad25137029dcc28aa520766040964 (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>
-rw-r--r-- | src/uxa/intel_display.c | 6 |
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; |