diff options
| author | Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> | 2020-02-12 15:08:37 -0800 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-02-12 18:32:15 -0800 |
| commit | 9a4d51580b3b7cd3bdbded043975da1962313f32 (patch) | |
| tree | e49586a7de9ab4ba9f5ded169196cbf3a893a3cc | |
| parent | 5258d8cb951625f0db4e974ab079aa441211d2bb (diff) | |
| download | meta-xilinx-9a4d51580b3b7cd3bdbded043975da1962313f32.tar.gz | |
weston: Remove opaque substitute for ARGB8888 as ZynqMP DP does not support
ARGB888 GBM format has XRGB8888 as opaque substitute, which ZynqMP DP
avbuf subsytem does not support in gfx layer, causing a blank screen.
By removing the opaque substitute, the default format will be used i.e.
ARGB8888.
Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
| -rw-r--r-- | meta-xilinx-bsp/recipes-graphics/weston/files/0001-libweston-Remove-substitute-format-for-ARGB8888.patch | 29 | ||||
| -rw-r--r-- | meta-xilinx-bsp/recipes-graphics/weston/weston_%.bbappend | 4 |
2 files changed, 32 insertions, 1 deletions
diff --git a/meta-xilinx-bsp/recipes-graphics/weston/files/0001-libweston-Remove-substitute-format-for-ARGB8888.patch b/meta-xilinx-bsp/recipes-graphics/weston/files/0001-libweston-Remove-substitute-format-for-ARGB8888.patch new file mode 100644 index 00000000..e8e8a1f0 --- /dev/null +++ b/meta-xilinx-bsp/recipes-graphics/weston/files/0001-libweston-Remove-substitute-format-for-ARGB8888.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From 77afc64239199f75041ec344f8f886ee20bba0f8 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> | ||
| 3 | Date: Tue, 11 Feb 2020 19:07:45 -0800 | ||
| 4 | Subject: [PATCH] libweston: Remove substitute format for ARGB8888 | ||
| 5 | |||
| 6 | Xilinx DP gfx layer does not support XRGB8888. Hence, remove the same | ||
| 7 | as opaque substitute. | ||
| 8 | |||
| 9 | Signed-off-by: Madhurkiran Harikrishnan <madhurkiran.harikrishnan@xilinx.com> | ||
| 10 | Upstream-Status : Inappropriate [Xilinx specific] | ||
| 11 | --- | ||
| 12 | libweston/pixel-formats.c | 1 - | ||
| 13 | 1 file changed, 1 deletion(-) | ||
| 14 | |||
| 15 | diff --git a/libweston/pixel-formats.c b/libweston/pixel-formats.c | ||
| 16 | index b96f3b2..e2a7715 100644 | ||
| 17 | --- a/libweston/pixel-formats.c | ||
| 18 | +++ b/libweston/pixel-formats.c | ||
| 19 | @@ -165,7 +165,6 @@ static const struct pixel_format_info pixel_format_table[] = { | ||
| 20 | }, | ||
| 21 | { | ||
| 22 | DRM_FORMAT(ARGB8888), | ||
| 23 | - .opaque_substitute = DRM_FORMAT_XRGB8888, | ||
| 24 | .depth = 32, | ||
| 25 | .bpp = 32, | ||
| 26 | GL_FORMAT(GL_BGRA_EXT), | ||
| 27 | -- | ||
| 28 | 2.7.4 | ||
| 29 | |||
diff --git a/meta-xilinx-bsp/recipes-graphics/weston/weston_%.bbappend b/meta-xilinx-bsp/recipes-graphics/weston/weston_%.bbappend index 177bf107..a13b627a 100644 --- a/meta-xilinx-bsp/recipes-graphics/weston/weston_%.bbappend +++ b/meta-xilinx-bsp/recipes-graphics/weston/weston_%.bbappend | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | FILESEXTRAPATHS_prepend_zynqmp := "${THISDIR}/files:" | 1 | FILESEXTRAPATHS_prepend_zynqmp := "${THISDIR}/files:" |
| 2 | 2 | ||
| 3 | SRC_URI_append_zynqmp = " file://0001-gl-renderer.c-Use-gr-egl_config-to-create-pbuffer-su.patch" | 3 | SRC_URI_append_zynqmp = " file://0001-gl-renderer.c-Use-gr-egl_config-to-create-pbuffer-su.patch \ |
| 4 | file://0001-libweston-Remove-substitute-format-for-ARGB8888.patch \ | ||
| 5 | " | ||
