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/0001-Force-to-render-path-according-to-app-setting.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/0001-Force-to-render-path-according-to-app-setting.patch')
-rw-r--r-- | recipes-multimedia/libva/files/0001-Force-to-render-path-according-to-app-setting.patch | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/recipes-multimedia/libva/files/0001-Force-to-render-path-according-to-app-setting.patch b/recipes-multimedia/libva/files/0001-Force-to-render-path-according-to-app-setting.patch deleted file mode 100644 index a6f5dbb3..00000000 --- a/recipes-multimedia/libva/files/0001-Force-to-render-path-according-to-app-setting.patch +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | From bfc77f3476a406600e05e3bfa5e289a94bf58aef Mon Sep 17 00:00:00 2001 | ||
2 | From: JayYang <jay.yang@intel.com> | ||
3 | Date: Fri, 4 Aug 2023 12:03:51 +0800 | ||
4 | Subject: [PATCH 1/4] Force to render path according to app setting | ||
5 | |||
6 | If apps set VA flag VA_PROC_PIPELINE_FAST, force workload to render. | ||
7 | |||
8 | Upstream-Status: Backport [https://github.com/intel/media-driver/commit/00d560ba561f57b8be85c41a791e6db05e1743e9] | ||
9 | Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com> | ||
10 | --- | ||
11 | .../linux/common/vp/ddi/ddi_vp_functions.cpp | 22 +++++++++---------- | ||
12 | 1 file changed, 10 insertions(+), 12 deletions(-) | ||
13 | |||
14 | diff --git a/media_softlet/linux/common/vp/ddi/ddi_vp_functions.cpp b/media_softlet/linux/common/vp/ddi/ddi_vp_functions.cpp | ||
15 | index 89da5239f..fa02bf147 100644 | ||
16 | --- a/media_softlet/linux/common/vp/ddi/ddi_vp_functions.cpp | ||
17 | +++ b/media_softlet/linux/common/vp/ddi/ddi_vp_functions.cpp | ||
18 | @@ -3991,23 +3991,21 @@ VAStatus DdiVpFunctions::DdiSetProcPipelineParams( | ||
19 | } | ||
20 | #endif //(_DEBUG || _RELEASE_INTERNAL) | ||
21 | |||
22 | - // Set stream type using pipeline_flags VA_PROC_PIPELINE_FAST flag | ||
23 | // Currently we only support 1 primary surface in VP | ||
24 | - if (pipelineParam->pipeline_flags & VA_PROC_PIPELINE_FAST) | ||
25 | + if (vpCtx->iPriSurfs < VP_MAX_PRIMARY_SURFS) | ||
26 | { | ||
27 | - vpHalSrcSurf->SurfType = SURF_IN_SUBSTREAM; | ||
28 | + vpHalSrcSurf->SurfType = SURF_IN_PRIMARY; | ||
29 | + vpCtx->iPriSurfs++; | ||
30 | } | ||
31 | else | ||
32 | { | ||
33 | - if (vpCtx->iPriSurfs < VP_MAX_PRIMARY_SURFS) | ||
34 | - { | ||
35 | - vpHalSrcSurf->SurfType = SURF_IN_PRIMARY; | ||
36 | - vpCtx->iPriSurfs++; | ||
37 | - } | ||
38 | - else | ||
39 | - { | ||
40 | - vpHalSrcSurf->SurfType = SURF_IN_SUBSTREAM; | ||
41 | - } | ||
42 | + vpHalSrcSurf->SurfType = SURF_IN_SUBSTREAM; | ||
43 | + } | ||
44 | + | ||
45 | + // Set workload path using pipeline_flags VA_PROC_PIPELINE_FAST flag | ||
46 | + if (pipelineParam->pipeline_flags & VA_PROC_PIPELINE_FAST) | ||
47 | + { | ||
48 | + vpHalRenderParams->bForceToRender = true; | ||
49 | } | ||
50 | |||
51 | // Set src rect | ||
52 | -- | ||
53 | 2.40.1 | ||
54 | |||