diff options
author | BALATON Zoltan <balaton@eik.bme.hu> | 2023-11-01 21:45:36 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-11-06 15:58:37 +0400 |
commit | f7ecde051dd73fad8265e83c26ea69ae0a86e1d4 (patch) | |
tree | 29c3f46da776ccd1d3764e3026e84ba6ffbe8b04 /hw/display/ati_dbg.c | |
parent | 9d9ae0f07bc5f7c7f51832c6446dd3e115531427 (diff) |
ati-vga: Fix aperture sizes
Apparently these should be half the memory region sizes confirmed at
least by Radeon FCocde ROM while Rage 128 Pro ROMs don't seem to use
these. Linux r100 DRM driver also checks for a bit in HOST_PATH_CNTL
so we also add that even though the FCode ROM does not seem to set it.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <d077d4f90d19db731df78da6f05058db074cada1.1698871239.git.balaton@eik.bme.hu>
Diffstat (limited to 'hw/display/ati_dbg.c')
-rw-r--r-- | hw/display/ati_dbg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/ati_dbg.c b/hw/display/ati_dbg.c index bd0ecd48c7..4aec1c383a 100644 --- a/hw/display/ati_dbg.c +++ b/hw/display/ati_dbg.c @@ -38,6 +38,7 @@ static struct ati_regdesc ati_reg_names[] = { {"CONFIG_APER_SIZE", 0x0108}, {"CONFIG_REG_1_BASE", 0x010c}, {"CONFIG_REG_APER_SIZE", 0x0110}, + {"HOST_PATH_CNTL", 0x0130}, {"MEM_CNTL", 0x0140}, {"MC_FB_LOCATION", 0x0148}, {"MC_AGP_LOCATION", 0x014C}, |