All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] uxa: actually create the randr outputs for hotplug connectors
@ 2014-09-08  7:46 Dave Airlie
  2014-09-08  7:49 ` Chris Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Airlie @ 2014-09-08  7:46 UTC (permalink / raw)
  To: intel-gfx

From: Dave Airlie <airlied@redhat.com>

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

Signed-off-by: Dave Airlie <airlied@redhat.com>
---
 src/uxa/intel_display.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/uxa/intel_display.c b/src/uxa/intel_display.c
index c5f0620..97af76d 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;
 
-- 
1.9.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-09-08  7:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-08  7:46 [PATCH] uxa: actually create the randr outputs for hotplug connectors Dave Airlie
2014-09-08  7:49 ` Chris Wilson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.