[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical Qem
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole |
Date: |
Fri, 22 Mar 2013 11:19:32 +0000 |
On 21 March 2013 18:25, Anthony Liguori <address@hidden> wrote:
> Gerd Hoffmann <address@hidden> writes:
>> I think the most sensible way to handle this is to implement the output
>> routing device, make it own the (single) QemuConsole, and depending on
>> the router state the one or the other display device is allowed to
>> render to the QemuConsole.
>
> Where does the switching happen in hardware? Is this two devices with a
> DVI port with a switch on it to have a single output port or it is
> something more sophisticated where there are two memory regions and a
> register is used to select which one is written out?
The motherboard has a DVI multiplexer, which selects between the
two video+audio output streams (actually it selects between three
sources but we don't model the second daughterboard at all). I think
these streams are not actually DVI but they are certainly video
with pixel clock and S/PDIF audio already. There's a config register
in the motherboard which selects which source should go out to the
DVI connector. Conceptually I think it should look like this:
/-----\
[ PL111 ] ===(video)====> | |
| MUX | ===(video)===> [display]
[ PL111 ] ===(video)====> | |
\-----/
^
[arm_sysregs]---(qemu_irq)---/
(where [] means a device and () a kind of connection.)
If we supported routing of audio output we could in theory run
the audio through the mux in the same way.
-- PMM
- [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, (continued)
- [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Gerd Hoffmann, 2013/03/20
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Anthony Liguori, 2013/03/20
- Message not available
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Peter Maydell, 2013/03/20
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Gerd Hoffmann, 2013/03/21
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Gerd Hoffmann, 2013/03/21
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Peter Maydell, 2013/03/21
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Gerd Hoffmann, 2013/03/21
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole, Anthony Liguori, 2013/03/21
- Re: [Qemu-devel] [PATCH 22/23] gtk: show a window for each graphical QemuConsole,
Peter Maydell <=
[Qemu-devel] [PATCH 17/23] console: gui timer fixes, Gerd Hoffmann, 2013/03/20
[Qemu-devel] [PATCH 19/23] console: add qemu_console_is_*, Gerd Hoffmann, 2013/03/20
[Qemu-devel] [PATCH 14/23] console: move gui_update+gui_setup_refresh from vl.c into console.c, Gerd Hoffmann, 2013/03/20
[Qemu-devel] [PATCH 12/23] console: simplify screendump, Gerd Hoffmann, 2013/03/20
[Qemu-devel] [PATCH 20/23] console: allow pinning displaychangelisteners to consoles, Gerd Hoffmann, 2013/03/20
[Qemu-devel] [PATCH 16/23] console: add GraphicHwOps, Gerd Hoffmann, 2013/03/20