diff options
author | Lim Siew Hoon <siew.hoon.lim@intel.com> | 2023-11-24 09:23:01 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2023-11-24 11:56:03 +0800 |
commit | 587dce125d25031b00b2bd3cb67f8ee227bf0977 (patch) | |
tree | 72c139366915d23268497d0aad2a5cee4e58e040 /recipes-multimedia/libva/files/0003-Force-ARGB-surface-to-tile4-for-ACM.patch | |
parent | 2ab87a299a0c544806f6bcbd751eaacac649c144 (diff) | |
download | meta-intel-587dce125d25031b00b2bd3cb67f8ee227bf0977.tar.gz |
intel-media-driver: upgrade 23.2.4 -> 23.3.5
Removed patches already merged:
- 0001-ARGB-force-to-tile4.patch
- 0001-Fix-FC-Corruption-When-Blending-without-Colorfill-in.patch
- 0001-Fix-FC-Corruption-When-Blending-without-Colorfill.patch
- 0001-Force-to-render-path-according-to-app-setting.patch
- 0002-Add-DRM-format-mappings-for-JPEG-decoder-output.patch
Rebased patches:
- 0001-Disable-VP9-padding-on-MTL.patch
- 0004-Set-sRGB-color-space-for-non-video-wall-and-no-backg.patch
Added code fixed and new DG2 device id support:
- 0002-Add-VASurfaceAttribMemoryType-for-ACM.patch
- 0003-Force-ARGB-surface-to-tile4-for-ACM.patch
- 0005-XRGB-force-to-do-swizzle-for-AVC-HEVC.patch
- 0006-Add-DG2-DIDs.patch
Release notes:
https://github.com/intel/media-driver/releases/tag/intel-media-23.3.5
Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-multimedia/libva/files/0003-Force-ARGB-surface-to-tile4-for-ACM.patch')
-rw-r--r-- | recipes-multimedia/libva/files/0003-Force-ARGB-surface-to-tile4-for-ACM.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/recipes-multimedia/libva/files/0003-Force-ARGB-surface-to-tile4-for-ACM.patch b/recipes-multimedia/libva/files/0003-Force-ARGB-surface-to-tile4-for-ACM.patch new file mode 100644 index 00000000..31a7be9c --- /dev/null +++ b/recipes-multimedia/libva/files/0003-Force-ARGB-surface-to-tile4-for-ACM.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From a0149ae2dc69143406843302eb7e9e5338c54475 Mon Sep 17 00:00:00 2001 | ||
2 | From: Lim Siew Hoon <siew.hoon.lim@intel.com> | ||
3 | Date: Wed, 11 Oct 2023 15:36:21 +0800 | ||
4 | Subject: [PATCH 3/7] Force ARGB surface to tile4 for ACM | ||
5 | |||
6 | Upstream-Status: Submitted [https://github.com/intel/media-driver/pull/1728] | ||
7 | |||
8 | Signed-off-by: Soon, Thean Siew <thean.siew.soon@intel.com> | ||
9 | Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> | ||
10 | --- | ||
11 | media_driver/linux/common/ddi/media_libva_util.cpp | 10 ++++++++++ | ||
12 | 1 file changed, 10 insertions(+) | ||
13 | |||
14 | diff --git a/media_driver/linux/common/ddi/media_libva_util.cpp b/media_driver/linux/common/ddi/media_libva_util.cpp | ||
15 | index 59c02f145..f91f974cc 100755 | ||
16 | --- a/media_driver/linux/common/ddi/media_libva_util.cpp | ||
17 | +++ b/media_driver/linux/common/ddi/media_libva_util.cpp | ||
18 | @@ -504,6 +504,7 @@ VAStatus DdiMediaUtil_AllocateSurface( | ||
19 | gmmCustomParams.Flags.Gpu.UnifiedAuxSurface = 0; | ||
20 | } | ||
21 | } | ||
22 | + | ||
23 | break; | ||
24 | case TILING_X: | ||
25 | gmmCustomParams.Flags.Info.TiledX = true; | ||
26 | @@ -685,6 +686,15 @@ VAStatus DdiMediaUtil_AllocateSurface( | ||
27 | } | ||
28 | } | ||
29 | } | ||
30 | + // There's no VAAPI interface for modifier query yet. As a workaround, always allocate | ||
31 | + // RGB surface as tile4. | ||
32 | + if ((format == Media_Format_A8R8G8B8 || | ||
33 | + format == Media_Format_B10G10R10A2 | | ||
34 | + format == Media_Format_A8B8G8R8 || | ||
35 | + format == Media_Format_X8R8G8B8) && !MEDIA_IS_SKU(&mediaDrvCtx->SkuTable, FtrTileY)) | ||
36 | + { | ||
37 | + gmmParams.Flags.Info.Tile4 = true; | ||
38 | + } | ||
39 | break; | ||
40 | case TILING_X: | ||
41 | gmmParams.Flags.Info.TiledX = true; | ||
42 | -- | ||
43 | 2.40.1 | ||
44 | |||