qemu: fix vga driver build
Commit "7dbf9c6 edid: Use edid_mode struct to reduce redundancy" moved some fields from "struct edid" to "struct edid_mode". Adapt the bochs and cirrus drivers to that change. Change-Id: I9ec82a403d0264955d4b72496219036c7775c758 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-on: http://review.coreboot.org/11502 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
037581542b
commit
0bc3e325c9
|
@ -109,8 +109,8 @@ static void bochs_init(struct device *dev)
|
||||||
outb(0x20, 0x3c0); /* disable blanking */
|
outb(0x20, 0x3c0); /* disable blanking */
|
||||||
|
|
||||||
/* setup coreboot framebuffer */
|
/* setup coreboot framebuffer */
|
||||||
edid.ha = width;
|
edid.mode.ha = width;
|
||||||
edid.va = height;
|
edid.mode.va = height;
|
||||||
edid.x_resolution = width;
|
edid.x_resolution = width;
|
||||||
edid.y_resolution = height;
|
edid.y_resolution = height;
|
||||||
edid.bytes_per_line = width * 4;
|
edid.bytes_per_line = width * 4;
|
||||||
|
|
|
@ -332,8 +332,8 @@ static void cirrus_init(struct device *dev)
|
||||||
|
|
||||||
|
|
||||||
struct edid edid;
|
struct edid edid;
|
||||||
edid.ha = width;
|
edid.mode.ha = width;
|
||||||
edid.va = height;
|
edid.mode.va = height;
|
||||||
edid.x_resolution = width;
|
edid.x_resolution = width;
|
||||||
edid.y_resolution = height;
|
edid.y_resolution = height;
|
||||||
edid.bytes_per_line = width * 4;
|
edid.bytes_per_line = width * 4;
|
||||||
|
|
Loading…
Reference in New Issue