summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia
diff options
context:
space:
mode:
authorLim Siew Hoon <siew.hoon.lim@intel.com>2021-07-15 20:34:29 (GMT)
committerAnuj Mittal <anuj.mittal@intel.com>2021-07-19 03:03:30 (GMT)
commit94c097a82cf9167fa567c2af80d5e39a3fbbc11f (patch)
treecae09daebf3e3246a9bff591070f974d30d209ba /recipes-multimedia
parentddfe5c6f5fa02a5b7e790a4b584117b9f872f425 (diff)
downloadmeta-intel-94c097a82cf9167fa567c2af80d5e39a3fbbc11f.tar.gz
intel-media-driver: backport Fix PROCAMP not work issue
Fix PROCAMP not work issue in 4k resolution and above with gstreamer-vaapi master. 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')
-rw-r--r--recipes-multimedia/libva/files/0001-VP-Fix-2pass-CSC-PROCAMP-not-work-issue.patch34
-rw-r--r--recipes-multimedia/libva/intel-media-driver_21.2.3.bb1
2 files changed, 35 insertions, 0 deletions
diff --git a/recipes-multimedia/libva/files/0001-VP-Fix-2pass-CSC-PROCAMP-not-work-issue.patch b/recipes-multimedia/libva/files/0001-VP-Fix-2pass-CSC-PROCAMP-not-work-issue.patch
new file mode 100644
index 0000000..ec1dfe5
--- /dev/null
+++ b/recipes-multimedia/libva/files/0001-VP-Fix-2pass-CSC-PROCAMP-not-work-issue.patch
@@ -0,0 +1,34 @@
1From c7a9e55eb20cbaf12326bdffb57f881febe1e9c2 Mon Sep 17 00:00:00 2001
2From: Jay Yang <jay.yang@intel.com>
3Date: Fri, 2 Jul 2021 10:02:51 +0000
4Subject: [PATCH] [VP] Fix 2pass CSC PROCAMP not work issue
5
6Enable PROCAMP when 2pass CSC is also enabled.
7Fixes: #1138
8Signed off by: jay.yang@intel.com
9
10This patch was importaed from iHD media-driver git server
11(https://github.com/intel/media-driver.git) as of commit id
1206905e60e8aacc86828e79b1431188ba6ed46268
13
14Upstream-status: Backport
15Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
16---
17 media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.cpp | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.cpp b/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.cpp
21index edea839e..20634286 100644
22--- a/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.cpp
23+++ b/media_driver/agnostic/common/vp/hal/vphal_render_vebox_base.cpp
24@@ -2502,6 +2502,7 @@ void VPHAL_VEBOX_STATE::VeboxSetRenderingFlags(
25 pSrc->ColorSpace != pRenderTarget->ColorSpace);
26
27 pRenderData->bProcamp = ((IS_VPHAL_OUTPUT_PIPE_VEBOX(pRenderData) ||
28+ pRenderData->b2PassesCSC ||
29 IS_VPHAL_OUTPUT_PIPE_SFC(pRenderData)) &&
30 pSrc->pProcampParams &&
31 pSrc->pProcampParams->bEnabled);
32--
332.17.1
34
diff --git a/recipes-multimedia/libva/intel-media-driver_21.2.3.bb b/recipes-multimedia/libva/intel-media-driver_21.2.3.bb
index 0f75c5d..3f1eec9 100644
--- a/recipes-multimedia/libva/intel-media-driver_21.2.3.bb
+++ b/recipes-multimedia/libva/intel-media-driver_21.2.3.bb
@@ -19,6 +19,7 @@ REQUIRED_DISTRO_FEATURES = "opengl"
19DEPENDS += "libva gmmlib" 19DEPENDS += "libva gmmlib"
20 20
21SRC_URI = "git://github.com/intel/media-driver.git;protocol=https;nobranch=1 \ 21SRC_URI = "git://github.com/intel/media-driver.git;protocol=https;nobranch=1 \
22 file://0001-VP-Fix-2pass-CSC-PROCAMP-not-work-issue.patch \
22 " 23 "
23 24
24SRCREV = "008fb3b400dd906276f999eeaef3f49d52fd3d05" 25SRCREV = "008fb3b400dd906276f999eeaef3f49d52fd3d05"