summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 10c3f38e..70c38216 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -2845,19 +2845,6 @@ static void I830LeaveVT(int scrnIndex, int flags)
int10->cx = int10->dx = 0;
xf86ExecX86int10(int10);
}
-
- /* console restore hack */
- if (IS_IGDNG(intel) && intel->int10 && intel->int10Mode) {
- xf86Int10InfoPtr int10 = intel->int10;
-
- /* Use int10 to restore the console mode */
- int10->num = 0x10;
- int10->ax = 0x4f02;
- int10->bx = intel->int10Mode | 0x8000;
- int10->cx = int10->dx = 0;
- xf86ExecX86int10(int10);
- }
-
}
intel_batch_teardown(scrn);