Re: [PATCH 5/5] hw/display/artist: Fix framebuffer access for Linux

2022-01-15 Thread Sven Schnelle
Sven Schnelle writes: > Philippe Mathieu-Daudé writes: > >> +Sven >> >> On 12/1/22 22:07, Helge Deller wrote: >>> This patch fixes two problems which prevented Linux to access the >>> artist graphics framebuffer: >>> The check if the framebuffer or the color map should be accessed was >>> incomp

Re: [PATCH 5/5] hw/display/artist: Fix framebuffer access for Linux

2022-01-15 Thread Sven Schnelle
Philippe Mathieu-Daudé writes: > +Sven > > On 12/1/22 22:07, Helge Deller wrote: >> This patch fixes two problems which prevented Linux to access the >> artist graphics framebuffer: >> The check if the framebuffer or the color map should be accessed was >> incomplete. By using the vram_read/write

Re: [PATCH 5/5] hw/display/artist: Fix framebuffer access for Linux

2022-01-12 Thread Philippe Mathieu-Daudé
+Sven On 12/1/22 22:07, Helge Deller wrote: This patch fixes two problems which prevented Linux to access the artist graphics framebuffer: The check if the framebuffer or the color map should be accessed was incomplete. By using the vram_read/write_bufidx() functions we now check correctly if A

[PATCH 5/5] hw/display/artist: Fix framebuffer access for Linux

2022-01-12 Thread Helge Deller
This patch fixes two problems which prevented Linux to access the artist graphics framebuffer: The check if the framebuffer or the color map should be accessed was incomplete. By using the vram_read/write_bufidx() functions we now check correctly if ARTIST_BUFFER_CMAP should be accessed. The seco