All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] sna: Call EnterVT from sna_screen_init.
@ 2013-07-22  6:44 christopher.halse.rogers
  2013-07-22  6:44 ` [RFC PATCH 2/2] sna: Support running nested in Mir christopher.halse.rogers
  0 siblings, 1 reply; 7+ messages in thread
From: christopher.halse.rogers @ 2013-07-22  6:44 UTC (permalink / raw)
  To: intel-gfx; +Cc: Christopher James Halse Rogers

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

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

end of thread, other threads:[~2013-07-22  9:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-22  6:44 [PATCH 1/2] sna: Call EnterVT from sna_screen_init christopher.halse.rogers
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

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.