Skip to contentSkip to conversation

uxa: actually create the randr outputs for hotplug connectors

PATCH In review Dave Airlie 2 participants 2 messages Sep 8, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 uxa: actually create the randr outputs for hotplug connectors

From: Dave Airlie <[email protected]>

I somehow lost this chunk in my mst patch I sent.

---
 src/uxa/intel_display.c | 6 ++++++
 1 file changed, 6 insertions(+)
src/uxa/intel_display.c +6 -0
index c5f0620..97af76d 100644
@@ -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;
 
Signature · 1 line
1.9.3
#1 lore raw
Quoted 5 lines · Dave Airlie

From: Dave Airlie <[email protected]>

I somehow lost this chunk in my mst patch I sent.

And I didn't notice, since this is one of the major things you have to do with delayed addition of outputs.

Thanks for the quick fix.
-Chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre