diff options
| author | BALATON Zoltan <balaton@eik.bme.hu> | 2012-11-03 12:47:08 +0100 |
|---|---|---|
| committer | Blue Swirl <blauwirbel@gmail.com> | 2012-11-03 13:26:53 +0000 |
| commit | 5b9575c8b7873dee4ab233e065888bbce6dfbaa8 (patch) | |
| tree | 13b911b16492a006240a4035c008a00c1676795b /hw/vga.c | |
| parent | aa32b38c5b2eb1afe30b3292454411bb760a432d (diff) | |
| download | focaccia-qemu-5b9575c8b7873dee4ab233e065888bbce6dfbaa8.tar.gz focaccia-qemu-5b9575c8b7873dee4ab233e065888bbce6dfbaa8.zip | |
vmware_vga: Return a value for FB_SIZE before the device is enabled
According to the documentation drivers using this device should read FB_SIZE before enabling the device to know what memory to map. This would not work if we return 0 before enabled. The docs also mention reading SVGA_REG_DEPTH but not writing it. (Only SVGA_REG_BITS_PER_PIXEL can be written but we don't really support that either.) Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/vga.c')
0 files changed, 0 insertions, 0 deletions