diff options
author | Alistair Francis <alistair.francis@xilinx.com> | 2017-01-17 13:31:00 -0800 |
---|---|---|
committer | Nathan Rossi <nathan@nathanrossi.com> | 2017-01-18 17:13:15 +1000 |
commit | ba499e7ea55299aba5059a3edb39a0e1d6af31b2 (patch) | |
tree | e1cd85c790f79c998058b4fd849268b254a0be19 /recipes-devtools | |
parent | 664e624af47e4c54319aa9dff854bf1d2cc2c333 (diff) | |
download | meta-xilinx-ba499e7ea55299aba5059a3edb39a0e1d6af31b2.tar.gz |
qemu-xilinx: Apply a display port fix patch
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'recipes-devtools')
-rw-r--r-- | recipes-devtools/qemu/files/xilinx-dp-Add-support-for-yuy2-video-format.patch | 28 | ||||
-rw-r--r-- | recipes-devtools/qemu/qemu-xilinx_2016.4.bb | 4 |
2 files changed, 31 insertions, 1 deletions
diff --git a/recipes-devtools/qemu/files/xilinx-dp-Add-support-for-yuy2-video-format.patch b/recipes-devtools/qemu/files/xilinx-dp-Add-support-for-yuy2-video-format.patch new file mode 100644 index 00000000..46c7266f --- /dev/null +++ b/recipes-devtools/qemu/files/xilinx-dp-Add-support-for-yuy2-video-format.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From c877bdef605340dd408f90c9d5edf47f61f2a5d4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alistair Francis <alistair.francis@xilinx.com> | ||
3 | Date: Mon, 16 Jan 2017 14:20:54 -0800 | ||
4 | Subject: [PATCH] xilinx-dp: Add support for yuy2 video format | ||
5 | |||
6 | Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> | ||
7 | Upstream-Status: Submitted | ||
8 | --- | ||
9 | hw/display/xlnx_dp.c | 3 +++ | ||
10 | 1 file changed, 3 insertions(+) | ||
11 | |||
12 | diff --git a/hw/display/xlnx_dp.c b/hw/display/xlnx_dp.c | ||
13 | index 40c674f..c507d3c 100644 | ||
14 | --- a/hw/display/xlnx_dp.c | ||
15 | +++ b/hw/display/xlnx_dp.c | ||
16 | @@ -636,6 +636,9 @@ static void xlnx_dp_change_graphic_fmt(XlnxDPState *s) | ||
17 | case 0: | ||
18 | s->v_plane.format = PIXMAN_x8b8g8r8; | ||
19 | break; | ||
20 | + case DP_NL_VID_Y0_CB_Y1_CR: | ||
21 | + s->v_plane.format = PIXMAN_yuy2; | ||
22 | + break; | ||
23 | case DP_NL_VID_RGBA8880: | ||
24 | s->v_plane.format = PIXMAN_x8b8g8r8; | ||
25 | break; | ||
26 | -- | ||
27 | 2.7.4 | ||
28 | |||
diff --git a/recipes-devtools/qemu/qemu-xilinx_2016.4.bb b/recipes-devtools/qemu/qemu-xilinx_2016.4.bb index 4437ca98..62787102 100644 --- a/recipes-devtools/qemu/qemu-xilinx_2016.4.bb +++ b/recipes-devtools/qemu/qemu-xilinx_2016.4.bb | |||
@@ -11,7 +11,9 @@ LIC_FILES_CHKSUM = " \ | |||
11 | " | 11 | " |
12 | 12 | ||
13 | SRCREV = "4b90a13118b6e005d688d7aefb0900f7a67531df" | 13 | SRCREV = "4b90a13118b6e005d688d7aefb0900f7a67531df" |
14 | SRC_URI = "git://github.com/Xilinx/qemu.git;protocol=https;nobranch=1" | 14 | SRC_URI = "git://github.com/Xilinx/qemu.git;protocol=https;nobranch=1 \ |
15 | file://xilinx-dp-Add-support-for-yuy2-video-format.patch \ | ||
16 | " | ||
15 | 17 | ||
16 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
17 | 19 | ||