summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/libva/files/0001-VP-Fix-2pass-CSC-PROCAMP-not-work-issue.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/libva/files/0001-VP-Fix-2pass-CSC-PROCAMP-not-work-issue.patch')
-rw-r--r--recipes-multimedia/libva/files/0001-VP-Fix-2pass-CSC-PROCAMP-not-work-issue.patch34
1 files changed, 34 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