<feed xmlns='http://www.w3.org/2005/Atom'>
<title>bwlp/qemu.git/include/hw/display, branch spice_video_codecs</title>
<subtitle>Experimental fork of QEMU with video encoding patches</subtitle>
<id>https://git.openslx.org/bwlp/qemu.git/atom/include/hw/display?h=spice_video_codecs</id>
<link rel='self' href='https://git.openslx.org/bwlp/qemu.git/atom/include/hw/display?h=spice_video_codecs'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/'/>
<updated>2022-06-08T18:38:47+00:00</updated>
<entry>
<title>xlnx_dp: Introduce a vblank signal</title>
<updated>2022-06-08T18:38:47+00:00</updated>
<author>
<name>Sai Pavan Boddu</name>
</author>
<published>2022-06-08T18:38:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=759ae1b47e7e0203eb6881304b4bbf0d935fd550'/>
<id>urn:sha1:759ae1b47e7e0203eb6881304b4bbf0d935fd550</id>
<content type='text'>
Add a periodic timer which raises vblank at a frequency of 30Hz.

Note that this is a migration compatibility break for the
xlnx-zcu102 board type.

Signed-off-by: Sai Pavan Boddu &lt;saipava@xilinx.com&gt;
Signed-off-by: Edgar E. Iglesias &lt;edgar.iglesias@xilinx.com&gt;
Signed-off-by: Frederic Konrad &lt;fkonrad@amd.com&gt;
Acked-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-id: 20220601172353.3220232-3-fkonrad@xilinx.com
Changes by fkonrad:
  - Switched to transaction-based ptimer API.
  - Added the DP_INT_VBLNK_START macro.
Signed-off-by: Frederic Konrad &lt;fkonrad@amd.com&gt;
[PMM: bump vmstate version, add commit message note about
 compat break]
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>xlnx_dp: fix the wrong register size</title>
<updated>2022-06-08T18:38:47+00:00</updated>
<author>
<name>Frederic Konrad</name>
</author>
<published>2022-06-08T18:38:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=d2008b3355061ab0cca823739cd98045e769a809'/>
<id>urn:sha1:d2008b3355061ab0cca823739cd98045e769a809</id>
<content type='text'>
The core and the vblend registers size are wrong, they should respectively be
0x3B0 and 0x1E0 according to:
  https://www.xilinx.com/htmldocs/registers/ug1087/ug1087-zynq-ultrascale-registers.html.

Let's fix that and use macros when creating the mmio region.

Fixes: 58ac482a66d ("introduce xlnx-dp")
Signed-off-by: Frederic Konrad &lt;fkonrad@amd.com&gt;
Reviewed-by: Edgar E. Iglesias &lt;edgar.iglesias@amd.com&gt;
Acked-by: Alistair Francis &lt;alistair.francis@wdc.com&gt;
Message-id: 20220601172353.3220232-2-fkonrad@xilinx.com
Signed-off-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
</content>
</entry>
<entry>
<title>macfb: increase number of registers saved in MacfbState</title>
<updated>2022-03-09T09:29:10+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-03-05T15:55:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=dd2a56ab6f4743d77f3586749eb6934983944f1f'/>
<id>urn:sha1:dd2a56ab6f4743d77f3586749eb6934983944f1f</id>
<content type='text'>
The MacOS toolbox ROM accesses a number of addresses between 0x0 and 0x200 during
initialisation and resolution changes. Whilst the function of many of these
registers is unknown, it is worth the minimal cost of saving these extra values as
part of migration to help future-proof the migration stream for the q800 machine
as it starts to stabilise.

Note this is a migration break, but since there are upcoming incompatible changes
for the q800 machine (and migration does not even succeed without these patches)
then this is not an issue.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Peter Maydell &lt;peter.maydell@linaro.org&gt;
Reviewed-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Message-Id: &lt;20220305155530.9265-4-mark.cave-ayland@ilande.co.uk&gt;
Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
</content>
</entry>
<entry>
<title>macfb: don't use special irq_state and irq_mask variables in MacfbState</title>
<updated>2022-03-09T09:29:10+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2022-03-05T15:55:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=4718125192875085e6b1104e8286dbda7d4db682'/>
<id>urn:sha1:4718125192875085e6b1104e8286dbda7d4db682</id>
<content type='text'>
The current IRQ state and IRQ mask are handled exactly the same as standard
register accesses, so store these values directly in the regs array rather
than having separate variables for them.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Message-Id: &lt;20220305155530.9265-3-mark.cave-ayland@ilande.co.uk&gt;
Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
</content>
</entry>
<entry>
<title>hw/mips/jazz: Inline vga_mmio_init() and remove it</title>
<updated>2022-01-13T09:58:54+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2021-12-06T22:45:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=7336c94434b2f697a375126d0df8549777a58148'/>
<id>urn:sha1:7336c94434b2f697a375126d0df8549777a58148</id>
<content type='text'>
vga_mmio_init() is used only one time and not very helpful,
inline and remove it.

Reviewed-by: BALATON Zoltan &lt;balaton@eik.bme.hu&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20211206224528.563588-5-f4bug@amsat.org&gt;
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>hw/display/vga-mmio: QOM'ify vga_mmio_init() as TYPE_VGA_MMIO</title>
<updated>2022-01-13T09:58:54+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2021-12-06T22:45:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=23f6e3b11be74abae77584a069ec710d719ac5a1'/>
<id>urn:sha1:23f6e3b11be74abae77584a069ec710d719ac5a1</id>
<content type='text'>
Introduce TYPE_VGA_MMIO, a sysbus device.

While there is no change in the vga_mmio_init()
interface, this is a migration compatibility break
of the MIPS Acer Pica 61 Jazz machine (pica61).

Suggested-by: Thomas Huth &lt;thuth@redhat.com&gt;
Reviewed-by: BALATON Zoltan &lt;balaton@eik.bme.hu&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Message-Id: &lt;20211206224528.563588-4-f4bug@amsat.org&gt;
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>hw/display: Rename VGA_ISA_MM -&gt; VGA_MMIO</title>
<updated>2022-01-13T09:58:54+00:00</updated>
<author>
<name>Philippe Mathieu-Daudé</name>
</author>
<published>2021-12-06T22:45:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=3ac25236ea6dd52a44c679ebd0a8126662d0ab4e'/>
<id>urn:sha1:3ac25236ea6dd52a44c679ebd0a8126662d0ab4e</id>
<content type='text'>
There is no ISA bus part in the MMIO VGA device, so rename:

 *  hw/display/vga-isa-mm.c -&gt; hw/display/vga-mmio.c
 *  CONFIG_VGA_ISA_MM -&gt; CONFIG_VGA_MMIO
 *  ISAVGAMMState -&gt; VGAMmioState
 *  isa_vga_mm_init() -&gt; vga_mmio_init()

Reviewed-by: BALATON Zoltan &lt;balaton@eik.bme.hu&gt;
Reviewed-by: Thomas Huth &lt;thuth@redhat.com&gt;
Signed-off-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Message-Id: &lt;20211206224528.563588-2-f4bug@amsat.org&gt;
Signed-off-by: Gerd Hoffmann &lt;kraxel@redhat.com&gt;
</content>
</entry>
<entry>
<title>macfb: add vertical blank interrupt</title>
<updated>2021-10-08T11:31:03+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2021-10-07T22:12:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=c7a2f7ba0c736a119d7b530693de0e1b691cdd5a'/>
<id>urn:sha1:c7a2f7ba0c736a119d7b530693de0e1b691cdd5a</id>
<content type='text'>
The MacOS driver expects a 60.15Hz vertical blank interrupt to be generated by
the framebuffer which in turn schedules the mouse driver via the Vertical Retrace
Manager.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Message-Id: &lt;20211007221253.29024-13-mark.cave-ayland@ilande.co.uk&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>macfb: add common monitor modes supported by the MacOS toolbox ROM</title>
<updated>2021-10-08T11:31:03+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2021-10-07T22:12:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=df8abbbadf743bef6be5543b26f51231285b8923'/>
<id>urn:sha1:df8abbbadf743bef6be5543b26f51231285b8923</id>
<content type='text'>
The monitor modes table is found by experimenting with the Monitors Control
Panel in MacOS and analysing the reads/writes. From this it can be found that
the mode is controlled by writes to the DAFB_MODE_CTRL1 and DAFB_MODE_CTRL2
registers.

Implement the first block of DAFB registers as a register array including the
existing sense register, the newly discovered control registers above, and also
the DAFB_MODE_VADDR1 and DAFB_MODE_VADDR2 registers which are used by NetBSD to
determine the current video mode.

These experiments also show that the offset of the start of video RAM and the
stride can change depending upon the monitor mode, so update macfb_draw_graphic()
and both the BI_MAC_VADDR and BI_MAC_VROW bootinfo for the q800 machine
accordingly.

Finally update macfb_common_realize() so that only the resolution and depth
supported by the display type can be specified on the command line, and add an
error hint showing the list of supported resolutions and depths if the user tries
to specify an invalid display mode.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Message-Id: &lt;20211007221253.29024-10-mark.cave-ayland@ilande.co.uk&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
<entry>
<title>macfb: add qdev property to specify display type</title>
<updated>2021-10-08T11:31:03+00:00</updated>
<author>
<name>Mark Cave-Ayland</name>
</author>
<published>2021-10-07T22:12:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/bwlp/qemu.git/commit/?id=4317c518618adcd5d41637c849be17e94cecf003'/>
<id>urn:sha1:4317c518618adcd5d41637c849be17e94cecf003</id>
<content type='text'>
Since the available resolutions and colour depths are determined by the attached
display type, add a qdev property to allow the display type to be specified.

The main resolutions of interest are high resolution 1152x870 with 8-bit colour
and SVGA resolution up to 800x600 with 24-bit colour so update the q800 machine
to allow high resolution mode if specified and otherwise fall back to SVGA.

Signed-off-by: Mark Cave-Ayland &lt;mark.cave-ayland@ilande.co.uk&gt;
Reviewed-by: Philippe Mathieu-Daudé &lt;f4bug@amsat.org&gt;
Reviewed-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
Message-Id: &lt;20211007221253.29024-9-mark.cave-ayland@ilande.co.uk&gt;
Signed-off-by: Laurent Vivier &lt;laurent@vivier.eu&gt;
</content>
</entry>
</feed>
