diff options
| author | BALATON Zoltan <balaton@eik.bme.hu> | 2019-06-24 11:50:12 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-06-28 10:49:36 +0200 |
| commit | 866ad5f5ff620078f88183aa254f7b02727e6aa3 (patch) | |
| tree | 3384afb24959939b41be9eca392a92122f2d1fa2 /hw/display/ati_int.h | |
| parent | c82c7336de58876862e6b4dccbda29e9240fd388 (diff) | |
| download | focaccia-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.h | 1 |
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; |