aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/bochs/bochs_hw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/bochs/bochs_hw.c b/drivers/gpu/drm/bochs/bochs_hw.c
index 460389702d31..a39b0343c197 100644
--- a/drivers/gpu/drm/bochs/bochs_hw.c
+++ b/drivers/gpu/drm/bochs/bochs_hw.c
@@ -164,6 +164,7 @@ void bochs_hw_setmode(struct bochs_device *bochs,
164 164
165 bochs_vga_writeb(bochs, 0x3c0, 0x20); /* unblank */ 165 bochs_vga_writeb(bochs, 0x3c0, 0x20); /* unblank */
166 166
167 bochs_dispi_write(bochs, VBE_DISPI_INDEX_ENABLE, 0);
167 bochs_dispi_write(bochs, VBE_DISPI_INDEX_BPP, bochs->bpp); 168 bochs_dispi_write(bochs, VBE_DISPI_INDEX_BPP, bochs->bpp);
168 bochs_dispi_write(bochs, VBE_DISPI_INDEX_XRES, bochs->xres); 169 bochs_dispi_write(bochs, VBE_DISPI_INDEX_XRES, bochs->xres);
169 bochs_dispi_write(bochs, VBE_DISPI_INDEX_YRES, bochs->yres); 170 bochs_dispi_write(bochs, VBE_DISPI_INDEX_YRES, bochs->yres);