mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 00:49:33 +02:00
qemu: upgrade to 1.3.0
remove-hardcoded-libexec.patch: removed
- included in the new version
qemu-vmware-vga-depth.patch: removed
- doesn't apply anymore
- the problem addressed by the patch is fixed by
reverting commit 1f202568e0553b416483e5993f1bde219c22cf72
Revert-vmware_vga-Add-back-some-info-in-local-state-.patch:
- VMware VGA requires that the depth presented to the guest
to be the same as the Display Surface depth in order to do not
corrupt the display
- do not cache the DS depth (the depth might change)
- revert commit 1f202568
- QEMU now uses pixman (DEPENDS += "pixman")
- rearrange the recipe in order to mimic the bitbake flow
- update both variants (.tar.bz2, git)
(From OE-Core rev: 7622c4f6c050f26f252066a0fcaacdbf340dcefa)
Signed-off-by: Constantin Musca <constantinx.musca@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
24b4976a42
commit
505f88fd3e
30
meta/recipes-devtools/qemu/files/arm-bgr.patch
Normal file
30
meta/recipes-devtools/qemu/files/arm-bgr.patch
Normal file
@@ -0,0 +1,30 @@
|
||||
After kernel commit:
|
||||
|
||||
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.0/commit/?h=meta&id=9728c1b6a724daefc413b44e10253cdbb5e06d08
|
||||
|
||||
It appears that the emulated colours in qemu are incorrect and that
|
||||
the red and blue channels are reversed. This patch reverses that logic
|
||||
so the colours are correctly displayed on the versatile platform which
|
||||
doesn't support the BGR bit.
|
||||
|
||||
RP 16/9/2011
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Index: qemu-1.2.0/hw/pl110.c
|
||||
===================================================================
|
||||
--- qemu-1.2.0.orig/hw/pl110.c 2012-09-06 14:07:27.619821133 -0700
|
||||
+++ qemu-1.2.0/hw/pl110.c 2012-09-06 14:12:07.699829648 -0700
|
||||
@@ -168,7 +168,11 @@
|
||||
fprintf(stderr, "pl110: Bad color depth\n");
|
||||
exit(1);
|
||||
}
|
||||
- if (s->cr & PL110_CR_BGR)
|
||||
+
|
||||
+ if (s->version && s->bpp == BPP_16)
|
||||
+ /* Code assumes BPP_16 == 565 and BGR is never set on the versatile in 565 mode */
|
||||
+ bpp_offset = 0;
|
||||
+ else if (s->cr & PL110_CR_BGR)
|
||||
bpp_offset = 0;
|
||||
else
|
||||
bpp_offset = 24;
|
||||
Reference in New Issue
Block a user