OSDN Git Service

ati-vga: Add 30 bit palette access register
authorBALATON Zoltan <balaton@eik.bme.hu>
Wed, 1 Nov 2023 20:45:38 +0000 (21:45 +0100)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 6 Nov 2023 11:58:43 +0000 (15:58 +0400)
commitbf9ac62a92ac087e44958ec18f795edfd2bf020a
tree9429efdff1ff60ad0ff6ceb8c46d11081a7eae70
parente876b3400a01c5f3947de34d6c10388f43192dc9
ati-vga: Add 30 bit palette access register

Radeon cards have a 30 bit DAC and corresponding palette register to
access it. We only use 8 bits but let the guests use 10 bit color
values for those that access it through this register.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <9fa19eec95d1563cc65853cf26912f230c702b32.1698871239.git.balaton@eik.bme.hu>
hw/display/ati.c
hw/display/ati_dbg.c
hw/display/ati_int.h
hw/display/ati_regs.h