diff options
| author | BALATON Zoltan <balaton@eik.bme.hu> | 2023-11-01 21:45:38 +0100 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-11-06 15:58:43 +0400 |
| commit | bf9ac62a92ac087e44958ec18f795edfd2bf020a (patch) | |
| tree | 9429efdff1ff60ad0ff6ceb8c46d11081a7eae70 /hw/display/ati_dbg.c | |
| parent | e876b3400a01c5f3947de34d6c10388f43192dc9 (diff) | |
| download | focaccia-qemu-bf9ac62a92ac087e44958ec18f795edfd2bf020a.tar.gz focaccia-qemu-bf9ac62a92ac087e44958ec18f795edfd2bf020a.zip | |
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>
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 4aec1c383a..3ffa7f35df 100644 --- a/hw/display/ati_dbg.c +++ b/hw/display/ati_dbg.c @@ -30,6 +30,7 @@ static struct ati_regdesc ati_reg_names[] = { {"AMCGPIO_EN_MIR", 0x00a8}, {"PALETTE_INDEX", 0x00b0}, {"PALETTE_DATA", 0x00b4}, + {"PALETTE_30_DATA", 0x00b8}, {"CNFG_CNTL", 0x00e0}, {"GEN_RESET_CNTL", 0x00f0}, {"CNFG_MEMSIZE", 0x00f8}, |