summary refs log tree commit diff stats
path: root/hw/display/ati_int.h
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2019-06-24 11:50:12 +0200
committerGerd Hoffmann <kraxel@redhat.com>2019-06-28 10:49:36 +0200
commit866ad5f5ff620078f88183aa254f7b02727e6aa3 (patch)
tree3384afb24959939b41be9eca392a92122f2d1fa2 /hw/display/ati_int.h
parentc82c7336de58876862e6b4dccbda29e9240fd388 (diff)
downloadfocaccia-qemu-866ad5f5ff620078f88183aa254f7b02727e6aa3.tar.gz
focaccia-qemu-866ad5f5ff620078f88183aa254f7b02727e6aa3.zip
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>
Diffstat (limited to 'hw/display/ati_int.h')
-rw-r--r--hw/display/ati_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/ati_int.h b/hw/display/ati_int.h
index 51465f5630..9b67d0022a 100644
--- a/hw/display/ati_int.h
+++ b/hw/display/ati_int.h
@@ -74,6 +74,7 @@ typedef struct ATIVGARegs {
     uint32_t dp_write_mask;
     uint32_t default_offset;
     uint32_t default_pitch;
+    uint32_t default_tile;
     uint32_t default_sc_bottom_right;
 } ATIVGARegs;