diff options
author | BALATON Zoltan | 2019-06-24 11:50:12 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2019-06-28 10:49:36 +0200 |
commit | 866ad5f5ff620078f88183aa254f7b02727e6aa3 (patch) | |
tree | 3384afb24959939b41be9eca392a92122f2d1fa2 /hw/display/ati_int.h | |
parent | ati-vga: Implement DDC and EDID info from monitor (diff) | |
download | qemu-866ad5f5ff620078f88183aa254f7b02727e6aa3.tar.gz qemu-866ad5f5ff620078f88183aa254f7b02727e6aa3.tar.xz 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; |