commit | 5b9575c8b7873dee4ab233e065888bbce6dfbaa8 | [log] [tgz] |
---|---|---|
author | BALATON Zoltan <balaton@eik.bme.hu> | Sat Nov 03 12:47:08 2012 +0100 |
committer | Blue Swirl <blauwirbel@gmail.com> | Sat Nov 03 13:26:53 2012 +0000 |
tree | 13b911b16492a006240a4035c008a00c1676795b | |
parent | aa32b38c5b2eb1afe30b3292454411bb760a432d [diff] |
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>