diff options
Diffstat (limited to 'recipes-multimedia/libva/files/0004-XRGB-force-to-tile4.patch')
-rw-r--r-- | recipes-multimedia/libva/files/0004-XRGB-force-to-tile4.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/recipes-multimedia/libva/files/0004-XRGB-force-to-tile4.patch b/recipes-multimedia/libva/files/0004-XRGB-force-to-tile4.patch deleted file mode 100644 index 16b2961e..00000000 --- a/recipes-multimedia/libva/files/0004-XRGB-force-to-tile4.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From bd96cac9a35a8ca98c7e2b8f622afb75f31ed221 Mon Sep 17 00:00:00 2001 | ||
2 | From: JayYang <jay.yang@intel.com> | ||
3 | Date: Thu, 27 Jul 2023 21:05:50 +0800 | ||
4 | Subject: [PATCH 4/5] XRGB force to tile4 | ||
5 | |||
6 | Force BGRX surfaces to tile4 because glimagesink plugins backend support by 3D mesa | ||
7 | driver is reporting back the XR24 (BGRx) for dmabuf modifier case is 0x0100000000000009 | ||
8 | |||
9 | upstream-status: backport | ||
10 | |||
11 | Backport from upstream media-driver: | ||
12 | https://github.com/intel/media-driver/commit/b6d038491372f39330b33620ed8bdb8255b57a66 | ||
13 | --- | ||
14 | media_softlet/linux/common/ddi/media_libva_util_next.cpp | 5 ++++- | ||
15 | 1 file changed, 4 insertions(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/media_softlet/linux/common/ddi/media_libva_util_next.cpp b/media_softlet/linux/common/ddi/media_libva_util_next.cpp | ||
18 | index 1852e59d2..b31607945 100644 | ||
19 | --- a/media_softlet/linux/common/ddi/media_libva_util_next.cpp | ||
20 | +++ b/media_softlet/linux/common/ddi/media_libva_util_next.cpp | ||
21 | @@ -649,7 +649,10 @@ VAStatus MediaLibvaUtilNext::GenerateGmmParamsForInternalSurface( | ||
22 | } | ||
23 | // For ARGB surface, always allocate it as tile4. | ||
24 | // This is a WA for ExportSurfaceHandle because modifer for tile64 isn't defined. | ||
25 | - if ((params.format == Media_Format_A8R8G8B8 || params.format == Media_Format_B10G10R10A2 || params.format == Media_Format_A8B8G8R8) && !MEDIA_IS_SKU(&mediaDrvCtx->SkuTable, FtrTileY)) | ||
26 | + if ((params.format == Media_Format_A8R8G8B8 || | ||
27 | + params.format == Media_Format_B10G10R10A2 || | ||
28 | + params.format == Media_Format_A8B8G8R8 || | ||
29 | + params.format == Media_Format_X8R8G8B8) && !MEDIA_IS_SKU(&mediaDrvCtx->SkuTable, FtrTileY)) | ||
30 | { | ||
31 | gmmParams.Flags.Info.Tile4 = true; | ||
32 | } | ||
33 | -- | ||
34 | 2.40.1 | ||
35 | |||