summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/files/arm-bgr.patch
diff options
context:
space:
mode:
authorRiku Voipio <riku.voipio@linaro.org>2013-06-06 15:08:40 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-13 17:38:08 +0100
commitb85b6118d5e0dcf8c49af956c1bbca80ec13f8c3 (patch)
tree80bf309448f4d154f5c3c4655696e7f9d99e4547 /meta/recipes-devtools/qemu/files/arm-bgr.patch
parenta6daa838df06ea97a9fc29861dae95ee80a0d512 (diff)
downloadpoky-b85b6118d5e0dcf8c49af956c1bbca80ec13f8c3.tar.gz
qemu: update to 1.5.0
Patches removed: 0001-doc-Fix-texinfo-table-markup-in-qemu-options.hx.patch - applied 0002-docs-Fix-generating-qemu-doc.html-with-texinfo-5.patch - fixed different upstream Revert-vmware_vga-Add-back-some-info-in-local-state-.patch - fixed different upstream arm-bgr.patch - this should be also fixed upstream, if still issue please resend. fallback-to-safe-mmap_min_addr.patch - this should be also fixed upstream, if still issue please resend. linker-flags.patch - unneeded with makefile changes from configure the obsolete --audio-cards-list option has been removed. (From OE-Core rev: 408f933f3b5523fc26ee818a16bb4162c4343192) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/files/arm-bgr.patch')
-rw-r--r--meta/recipes-devtools/qemu/files/arm-bgr.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-devtools/qemu/files/arm-bgr.patch b/meta/recipes-devtools/qemu/files/arm-bgr.patch
deleted file mode 100644
index f3ebde6364..0000000000
--- a/meta/recipes-devtools/qemu/files/arm-bgr.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1After kernel commit:
2
3http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.0/commit/?h=meta&id=9728c1b6a724daefc413b44e10253cdbb5e06d08
4
5It appears that the emulated colours in qemu are incorrect and that
6the red and blue channels are reversed. This patch reverses that logic
7so the colours are correctly displayed on the versatile platform which
8doesn't support the BGR bit.
9
10RP 16/9/2011
11
12Upstream-Status: Pending
13
14Index: qemu-1.2.0/hw/pl110.c
15===================================================================
16--- qemu-1.2.0.orig/hw/pl110.c 2012-09-06 14:07:27.619821133 -0700
17+++ qemu-1.2.0/hw/pl110.c 2012-09-06 14:12:07.699829648 -0700
18@@ -168,7 +168,11 @@
19 fprintf(stderr, "pl110: Bad color depth\n");
20 exit(1);
21 }
22- if (s->cr & PL110_CR_BGR)
23+
24+ if (s->version && s->bpp == BPP_16)
25+ /* Code assumes BPP_16 == 565 and BGR is never set on the versatile in 565 mode */
26+ bpp_offset = 0;
27+ else if (s->cr & PL110_CR_BGR)
28 bpp_offset = 0;
29 else
30 bpp_offset = 24;