]> code.ossystems Code Review - meta-freescale.git/commitdiff
mesa: Remove patch applied on mesa 18.0.0-rc4 95/18795/2
authorFabio Berton <fabio.berton@ossystems.com.br>
Tue, 27 Feb 2018 13:12:12 +0000 (10:12 -0300)
committerFabio Berton <fabio.berton@ossystems.com.br>
Tue, 27 Feb 2018 17:05:21 +0000 (14:05 -0300)
WIP-st-dri-Allow-YUYV-import.patch was already applied on mesa 18.0.0-rc4

Change-Id: Ifead7707b2aff090b8e8355a9ea33c05cea9de32
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
recipes-graphics/mesa/mesa/WIP-st-dri-Allow-YUYV-import.patch [deleted file]
recipes-graphics/mesa/mesa_%.bbappend

diff --git a/recipes-graphics/mesa/mesa/WIP-st-dri-Allow-YUYV-import.patch b/recipes-graphics/mesa/mesa/WIP-st-dri-Allow-YUYV-import.patch
deleted file mode 100644 (file)
index 43103fa..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-From c276e110f520c8f9e1795b4a85dec3f28ef38d89 Mon Sep 17 00:00:00 2001
-From: Philipp Zabel <p.zabel@pengutronix.de>
-Date: Mon, 11 Apr 2016 18:50:58 +0200
-Subject: [PATCH] WIP: st/dri: Allow YUYV import
-
-Unclear whether this is the right way, but this allows to import
-dma-buffers with YUYV pixel format.
-
-Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
----
- src/gallium/state_trackers/dri/dri2.c | 7 +++++++
- 1 file changed, 7 insertions(+)
-
-diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c
-index b50e096443..9c61f01547 100644
---- a/src/gallium/state_trackers/dri/dri2.c
-+++ b/src/gallium/state_trackers/dri/dri2.c
-@@ -84,6 +84,10 @@ static int convert_fourcc(int format, int *dri_components_p)
-       format = __DRI_IMAGE_FORMAT_GR88;
-       dri_components = __DRI_IMAGE_COMPONENTS_RG;
-       break;
-+   case __DRI_IMAGE_FOURCC_YUYV:
-+      format = __DRI_IMAGE_FOURCC_YUYV;
-+      dri_components = __DRI_IMAGE_COMPONENTS_Y_XUXV; /* FIXME */
-+      break;
-    /*
-     * For multi-planar YUV formats, we return the format of the first
-     * plane only.  Since there is only one caller which supports multi-
-@@ -164,6 +168,9 @@ static enum pipe_format dri2_format_to_pipe_format (int format)
-    case __DRI_IMAGE_FORMAT_GR88:
-       pf = PIPE_FORMAT_RG88_UNORM;
-       break;
-+   case __DRI_IMAGE_FOURCC_YUYV:
-+      pf = PIPE_FORMAT_YUYV;
-+      break;
-    default:
-       pf = PIPE_FORMAT_NONE;
-       break;
--- 
-2.11.0
-
index 687e87fcb22eb401be1105d405c1f723f32dbf8a..66ff9aecfcfd1b7ddd8bf945982a0f3888c1c43b 100644 (file)
@@ -7,7 +7,6 @@ PROVIDES_remove_imxgpu3d = "virtual/libgl"
 
 SRC_URI_append = " \
                   file://0015-Enable-MESA_ycbcr_texture-for-GLES1-and-GLES2.patch \
-                  file://WIP-st-dri-Allow-YUYV-import.patch \
 "