ati-vga: Fixes to offset and pitch registers
commit866ad5f5ff620078f88183aa254f7b02727e6aa3
authorBALATON Zoltan <balaton@eik.bme.hu>
Mon, 24 Jun 2019 09:50:12 +0000 (24 11:50 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 28 Jun 2019 08:49:36 +0000 (28 10:49 +0200)
tree3384afb24959939b41be9eca392a92122f2d1fa2
parentc82c7336de58876862e6b4dccbda29e9240fd388
ati-vga: Fixes to offset and pitch registers

Fix bit masks of registers for offset and pitch and also handle
default values for both R128P and RV100. This improves picture a bit
but does not resolve all problems yet so there might be some more bugs
somewhere.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-id: 20190624100005.7A1CA746395@zero.eik.bme.hu
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/ati.c
hw/display/ati_2d.c
hw/display/ati_int.h
hw/display/ati_regs.h