All of lore.kernel.org
 help / color / mirror / Atom feed
From: christopher.halse.rogers@canonical.com
To: intel-gfx@lists.freedesktop.org
Cc: Christopher James Halse Rogers <raof@ubuntu.com>
Subject: [PATCH 1/2] sna: Call EnterVT from sna_screen_init.
Date: Mon, 22 Jul 2013 16:44:39 +1000	[thread overview]
Message-ID: <1374475480-7255-1-git-send-email-christopher.halse.rogers@canonical.com> (raw)

From: Christopher James Halse Rogers <raof@ubuntu.com>

It's documented to do so. It might as well.

---
 src/sna/sna_driver.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/sna/sna_driver.c b/src/sna/sna_driver.c
index b48ab30..de1384d 100644
--- a/src/sna/sna_driver.c
+++ b/src/sna/sna_driver.c
@@ -936,6 +936,8 @@ agp_aperture_size(struct pci_device *dev, int gen)
 	return dev->regions[gen < 030 ? 0 : 2].size;
 }
 
+static Bool sna_enter_vt(VT_FUNC_ARGS_DECL);
+
 static Bool
 sna_screen_init(SCREEN_INIT_ARGS_DECL)
 {
@@ -1072,7 +1074,7 @@ sna_screen_init(SCREEN_INIT_ARGS_DECL)
 
 	sna_uevent_init(scrn);
 
-	return TRUE;
+	return sna_enter_vt(VT_FUNC_ARGS(0));
 }
 
 static void sna_adjust_frame(ADJUST_FRAME_ARGS_DECL)
-- 
1.8.3.2

             reply	other threads:[~2013-07-22  6:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-22  6:44 christopher.halse.rogers [this message]
2013-07-22  6:44 ` [RFC PATCH 2/2] sna: Support running nested in Mir christopher.halse.rogers
2013-07-22  7:53   ` Chris Wilson
2013-07-22  8:10     ` Christopher James Halse Rogers
2013-07-22  8:33       ` Chris Wilson
2013-07-22  8:41   ` Chris Wilson
2013-07-22  9:27     ` Christopher James Halse Rogers

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=1374475480-7255-1-git-send-email-christopher.halse.rogers@canonical.com \
    --to=christopher.halse.rogers@canonical.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=raof@ubuntu.com \
    /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.