[PATCH 1/2] sna: Call EnterVT from sna_screen_init.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Christopher James Halse Rogers <raof@xxxxxxxxxx>

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

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux