ati-vga: Add dummy MEM_SDRAM_MODE_REG
commit2bbcaa7cd67c30fc90d643f2fb490787b9d9627c
authorBALATON Zoltan <balaton@eik.bme.hu>
Sun, 21 Jun 2020 11:12:38 +0000 (21 13:12 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 30 Jun 2020 20:54:24 +0000 (30 22:54 +0200)
treea9f2b75bce8fb01632c32831f768507b6ce7d7fe
parent41977c65c04a85f177603778cb60e06847efd3af
ati-vga: Add dummy MEM_SDRAM_MODE_REG

Radeon chips have an SDRAM mode reg that is accessed by some drivers.
We don't emulate the memory controller but provide some default value
to prevent drivers getting unexpected 0.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-id: cc1324b9ef06beb8ae233ddc77dedd8bab9b8624.1592737958.git.balaton@eik.bme.hu
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/display/ati.c
hw/display/ati_dbg.c
hw/display/ati_regs.h