[Qemu-devel] [Bug 1777672] Re: QEMU aarch64 virtual/physical frame buffer

2018-08-14 Thread Peter Maydell
Just submitted this patchset to the list which should fix this bug: https://patchwork.ozlabs.org/project/qemu-devel/list/?series=60775 ** Changed in: qemu Status: New => In Progress -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to Q

[Qemu-devel] [Bug 1777672] Re: QEMU aarch64 virtual/physical frame buffer

2018-08-10 Thread Peter Maydell
Mmm. I guess the wiki page is just wrong, then. I have some prototype patches that work, but I need to check somehow what the real hardware's response to various edge cases is: * trying to set a virtual screen size that's smaller than the physical screen size * trying to set the virtual x/y of

[Qemu-devel] [Bug 1777672] Re: QEMU aarch64 virtual/physical frame buffer

2018-08-10 Thread David Hoelzer
The virtual size must be at least the size of the physical display. One approach toward double-buffering is to make the virtual height twice the physical height. To "flip" the displays you simply change the start of the visible view port. See these: https://lb.raspberrypi.org/forums/viewtopic.p

[Qemu-devel] [Bug 1777672] Re: QEMU aarch64 virtual/physical frame buffer

2018-08-10 Thread Peter Maydell
Thanks for the test case. I'm having difficulty matching up your guest code with the documentation of the fb mbox tags in https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface ... Your code sets the physical height to FBHEIGHT via tag 0x48003, and the virtual height to FBHEIGHT *

[Qemu-devel] [Bug 1777672] Re: QEMU aarch64 virtual/physical frame buffer

2018-07-26 Thread David Hoelzer
Whoops.. Forgot to include the QEMU command line: qemu-system-aarch64 -M raspi3 --kernel kernel8.img -serial stdio -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1777672 Title: QEMU aarch64 virtual

[Qemu-devel] [Bug 1777672] Re: QEMU aarch64 virtual/physical frame buffer

2018-07-26 Thread David Hoelzer
Certainly! Attached. If you start the attached on a piece of hardware, it will start and display fine.. If you start it in QEMU, it will start but display a double-height screen rather than limiting the physical screen to the specified dimensions. (The virtual display is double-height in prep

[Qemu-devel] [Bug 1777672] Re: QEMU aarch64 virtual/physical frame buffer

2018-07-06 Thread Peter Maydell
Can you provide a test binary and QEMU command line that reproduce this, please ? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1777672 Title: QEMU aarch64 virtual/physical frame buffer Status in

[Qemu-devel] [Bug 1777672] Re: QEMU aarch64 virtual/physical frame buffer

2018-07-06 Thread Peter Maydell
** Tags added: arm -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1777672 Title: QEMU aarch64 virtual/physical frame buffer Status in QEMU: New Bug description: I fully recognize that the erro