All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dave Airlie <airlied@gmail.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH] uxa: actually create the randr outputs for hotplug connectors
Date: Mon,  8 Sep 2014 17:46:18 +1000	[thread overview]
Message-ID: <1410162378-15705-1-git-send-email-airlied@gmail.com> (raw)

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

             reply	other threads:[~2014-09-08  7:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-08  7:46 Dave Airlie [this message]
2014-09-08  7:49 ` [PATCH] uxa: actually create the randr outputs for hotplug connectors Chris Wilson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1410162378-15705-1-git-send-email-airlied@gmail.com \
    --to=airlied@gmail.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.