diff options
author | Lim Siew Hoon <siew.hoon.lim@intel.com> | 2023-06-02 10:56:39 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2023-06-02 11:16:54 +0800 |
commit | eb696e99ff8c5be4f9b181da9f134499d96760e4 (patch) | |
tree | 6af81fa216283b2e55e2d7994d2160591c8d1e9d /recipes-multimedia | |
parent | d7692dba743170ae661998d262347563ceaaf6dd (diff) | |
download | meta-intel-eb696e99ff8c5be4f9b181da9f134499d96760e4.tar.gz |
onevpl-intel-gpu: Disable CM COPY for ADL-P and RPL-P.
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/onevpl/files/0001-Disable-CM-Copy-for-ADL-P-and-RPL-P-4938.patch | 32 | ||||
-rw-r--r-- | recipes-multimedia/onevpl/onevpl-intel-gpu_23.1.5.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/recipes-multimedia/onevpl/files/0001-Disable-CM-Copy-for-ADL-P-and-RPL-P-4938.patch b/recipes-multimedia/onevpl/files/0001-Disable-CM-Copy-for-ADL-P-and-RPL-P-4938.patch new file mode 100644 index 00000000..f96231a3 --- /dev/null +++ b/recipes-multimedia/onevpl/files/0001-Disable-CM-Copy-for-ADL-P-and-RPL-P-4938.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 22e4f3dfc7f5510cd1fbec3e4e9e1845d35a301a Mon Sep 17 00:00:00 2001 | ||
2 | From: gfxVPLsdm <gfxvplsdm@intel.com> | ||
3 | Date: Tue, 4 Apr 2023 15:00:15 +0800 | ||
4 | Subject: [PATCH] Disable CM Copy for ADL-P and RPL-P (#4938) | ||
5 | |||
6 | Co-authored-by: Teng, Jin Chung <jin.chung.teng@intel.com> | ||
7 | |||
8 | Upstream-Status: Backport | ||
9 | Expect it to be removed once move to intel-onevpl-23.2.0 and above. | ||
10 | https://github.com/oneapi-src/oneVPL-intel-gpu/commit/2ef453cb231ad12a912669d0fc091d8365f436e4 | ||
11 | --- | ||
12 | _studio/shared/src/libmfx_core_vaapi.cpp | 4 ++-- | ||
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/_studio/shared/src/libmfx_core_vaapi.cpp b/_studio/shared/src/libmfx_core_vaapi.cpp | ||
16 | index 7212e572..baeafb7f 100644 | ||
17 | --- a/_studio/shared/src/libmfx_core_vaapi.cpp | ||
18 | +++ b/_studio/shared/src/libmfx_core_vaapi.cpp | ||
19 | @@ -830,8 +830,8 @@ bool VAAPIVideoCORE_T<Base>::IsCmSupported() | ||
20 | template <class Base> | ||
21 | bool VAAPIVideoCORE_T<Base>::IsCmCopyEnabledByDefault() | ||
22 | { | ||
23 | - // For Linux by default CM copy is ON on RKL/ADL | ||
24 | - return IsCmSupported() && GetHWType() != MFX_HW_DG1 && GetHWType() != MFX_HW_TGL_LP; | ||
25 | + // For Linux by default CM copy is ON on RKL/ADL-S | ||
26 | + return IsCmSupported() && GetHWType() != MFX_HW_DG1 && GetHWType() != MFX_HW_TGL_LP && GetHWType() != MFX_HW_ADL_P; | ||
27 | } | ||
28 | |||
29 | template <class Base> | ||
30 | -- | ||
31 | 2.40.1 | ||
32 | |||
diff --git a/recipes-multimedia/onevpl/onevpl-intel-gpu_23.1.5.bb b/recipes-multimedia/onevpl/onevpl-intel-gpu_23.1.5.bb index 2ce0949c..fed135b6 100644 --- a/recipes-multimedia/onevpl/onevpl-intel-gpu_23.1.5.bb +++ b/recipes-multimedia/onevpl/onevpl-intel-gpu_23.1.5.bb | |||
@@ -17,6 +17,7 @@ COMPATIBLE_HOST:x86-x32 = "null" | |||
17 | DEPENDS += "libdrm libva intel-media-driver onevpl pkgconfig-native" | 17 | DEPENDS += "libdrm libva intel-media-driver onevpl pkgconfig-native" |
18 | 18 | ||
19 | SRC_URI = "git://github.com/oneapi-src/oneVPL-intel-gpu.git;protocol=https;nobranch=1;lfs=0 \ | 19 | SRC_URI = "git://github.com/oneapi-src/oneVPL-intel-gpu.git;protocol=https;nobranch=1;lfs=0 \ |
20 | file://0001-Disable-CM-Copy-for-ADL-P-and-RPL-P-4938.patch \ | ||
20 | " | 21 | " |
21 | 22 | ||
22 | SRCREV = "3bc35c59ab64f60c3f73eaa83ada600859999493" | 23 | SRCREV = "3bc35c59ab64f60c3f73eaa83ada600859999493" |