OSDN Git Service

ati-vga: Fix aperture sizes
authorBALATON Zoltan <balaton@eik.bme.hu>
Wed, 1 Nov 2023 20:45:36 +0000 (21:45 +0100)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 6 Nov 2023 11:58:37 +0000 (15:58 +0400)
commitf7ecde051dd73fad8265e83c26ea69ae0a86e1d4
tree29c3f46da776ccd1d3764e3026e84ba6ffbe8b04
parent9d9ae0f07bc5f7c7f51832c6446dd3e115531427
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>
hw/display/ati.c
hw/display/ati_dbg.c
hw/display/ati_regs.h