qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] macfb: A/UX fixes for colour LUT
@ 2023-10-26  8:56 Mark Cave-Ayland
  2023-10-26  8:56 ` [PATCH 1/4] macfb: don't clear interrupts when writing to DAFB_RESET Mark Cave-Ayland
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Mark Cave-Ayland @ 2023-10-26  8:56 UTC (permalink / raw)
  To: laurent, qemu-devel

This fixes an issue discovered in A/UX whereby attempts to read the colour
LUT from the macfb device returned zero (black) for all colours. The problem
was that the DAFB_RESET register is actually used to set the current colour
palette array index: fixing that and allowing larger access sizes allows the
test case to work.

This series implements these changes, along with renaming the DAFB_RESET
register to DAFB_LUT_INDEX which better describes its purpose.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk


Mark Cave-Ayland (4):
  macfb: don't clear interrupts when writing to DAFB_RESET
  macfb: rename DAFB_RESET to DAFB_LUT_INDEX
  macfb: allow larger write accesses to the DAFB_LUT register
  macfb: allow reads from the DAFB_LUT register

 hw/display/macfb.c | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

-- 
2.39.2



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-11-05 14:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-26  8:56 [PATCH 0/4] macfb: A/UX fixes for colour LUT Mark Cave-Ayland
2023-10-26  8:56 ` [PATCH 1/4] macfb: don't clear interrupts when writing to DAFB_RESET Mark Cave-Ayland
2023-11-05 14:42   ` Laurent Vivier
2023-10-26  8:56 ` [PATCH 2/4] macfb: rename DAFB_RESET to DAFB_LUT_INDEX Mark Cave-Ayland
2023-11-05 14:42   ` Laurent Vivier
2023-10-26  8:56 ` [PATCH 3/4] macfb: allow larger write accesses to the DAFB_LUT register Mark Cave-Ayland
2023-11-05 14:42   ` Laurent Vivier
2023-10-26  8:56 ` [PATCH 4/4] macfb: allow reads from " Mark Cave-Ayland
2023-11-05 14:42   ` Laurent Vivier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).