Re: [PATCH] bochs-drm: disable video before changing video mode

From: Gerd Hoffmann
Date: Thu Mar 19 2015 - 04:27:22 EST


On Mi, 2015-03-18 at 12:37 -0400, Chris Ruffin wrote:
> qemu and simics simulators both seem to expect that video should be disabled
> before changing the video mode.

Not required for qemu. qemu allows updating the modesetting registers
(xres + friends) while vbe is enabled.

Turning it off, then back on after updating the registers doesn't hurt
though. So if this change gets things going on simics it's fine with
me.

Reviewed-by: Gerd Hoffmann <kraxel@xxxxxxxxxx>

cheers,
Gerd


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/