ati-vga: Support unaligned access to GPIO DDC registers
commite876b3400a01c5f3947de34d6c10388f43192dc9
authorBALATON Zoltan <balaton@eik.bme.hu>
Wed, 1 Nov 2023 20:45:37 +0000 (1 21:45 +0100)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 6 Nov 2023 11:58:40 +0000 (6 15:58 +0400)
treef2989dc20200dc87f679b8ff5fac1dca4260a74e
parentf7ecde051dd73fad8265e83c26ea69ae0a86e1d4
ati-vga: Support unaligned access to GPIO DDC registers

The GPIO_VGA_DDC and GPIO_DVI_DDC registers are used on Radeon for DDC
access. Some drivers like the PPC Mac FCode ROM uses unaligned writes
to these registers so implement this the same way as already done for
GPIO_MONID which is used the same way for the Rage 128 Pro.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Acked-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <dff6ce16ccabdfd54ffda348bf57c6d8b810cd98.1698871239.git.balaton@eik.bme.hu>
hw/display/ati.c