vmware_vga: Add back some info in local state partially reverting aa32b38c
commit1f202568e0553b416483e5993f1bde219c22cf72
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 4 Nov 2012 17:41:59 +0000 (4 18:41 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 10 Nov 2012 12:26:48 +0000 (10 12:26 +0000)
treee049e7a56b8453e35caa771e5ea35789d723c4d0
parent5c61afec86e5b2597b19b4657edc404fd76e6eb9
vmware_vga: Add back some info in local state partially reverting aa32b38c

Keep saving display surface parameters at init and using these cached
values instead of getting them when needed. Not sure why this is
needed (maybe due to the interaction with the vga device) but not
doing this broke the Xorg vmware driver at least.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Tested-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/vmware_vga.c