[Intel-gfx] [PATCH 1/2] sna: Call EnterVT from sna_screen_init.
christopher.halse.rogers at canonical.com
christopher.halse.rogers at canonical.com
Mon Jul 22 08:44:39 CEST 2013
From: Christopher James Halse Rogers <raof at 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
More information about the Intel-gfx
mailing list