Re: [edk2-devel] [PATCH v3 1/1] OvmfPkg/QemuVideoDxe: fix bochs mode init

2022-09-07 Thread Gerd Hoffmann
On Wed, Sep 07, 2022 at 11:15:04AM +0200, Gerd Hoffmann wrote: > Add VgaInb() helper function to read vga registers. With that in place > fix the unblanking. We need to put the ATT_ADDRESS_REGISTER flip flop > into a known state, which is done by reading the > INPUT_STATUS_1_REGISTER. Reading th

Re: [edk2-devel] [PATCH v3 1/1] OvmfPkg/QemuVideoDxe: fix bochs mode init

2022-09-07 Thread Ard Biesheuvel
On Wed, 7 Sept 2022 at 11:15, Gerd Hoffmann wrote: > > Add VgaInb() helper function to read vga registers. With that in place > fix the unblanking. We need to put the ATT_ADDRESS_REGISTER flip flop > into a known state, which is done by reading the > INPUT_STATUS_1_REGISTER. Reading the INPUT_S

[edk2-devel] [PATCH v3 1/1] OvmfPkg/QemuVideoDxe: fix bochs mode init

2022-09-07 Thread Gerd Hoffmann
Add VgaInb() helper function to read vga registers. With that in place fix the unblanking. We need to put the ATT_ADDRESS_REGISTER flip flop into a known state, which is done by reading the INPUT_STATUS_1_REGISTER. Reading the INPUT_STATUS_1_REGISTER only works when the device is in color mode,