meta-intel/recipes-multimedia/libva/files/0001-Add-Y210-caps-for-BMG-HEVC-encode.patch
Lim Siew Hoon 7092e59231 intel-media-driver: upgrade 24.3.2 -> 24.4.1
Add bug fixed:
 - 0001-Add-Y210-caps-for-BMG-HEVC-encode.patch
 - 0001-Change-RGB-mask-and-order.patch
 - 0001-Change-RGB-mask-and-order-for-BMG.patch

Signed-off-by: Lim Siew Hoon <siew.hoon.lim@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2024-11-27 15:28:02 +08:00

27 lines
1.7 KiB
Diff

From 273986f0944cd8e42c676e10700015c093e1c102 Mon Sep 17 00:00:00 2001
From: "Hoe, Sheng Yang" <sheng.yang.hoe@intel.com>
Date: Mon, 4 Nov 2024 08:53:46 +0000
Subject: [PATCH] Add Y210 caps for BMG HEVC encode
Upstream-Status: Backport [https://github.com/intel/media-driver/commit/e66314103cfec73d0bd4b8f687973d094e129838]
Signed-off-by: Hoe, Sheng Yang <sheng.yang.hoe@intel.com>
---
.../hevc/ddi/capstable_data_hevc_encode_xe2_hpm_r0_specific.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/media_softlet/linux/xe2_hpm_r0/encode/hevc/ddi/capstable_data_hevc_encode_xe2_hpm_r0_specific.h b/media_softlet/linux/xe2_hpm_r0/encode/hevc/ddi/capstable_data_hevc_encode_xe2_hpm_r0_specific.h
index bfcba8277..4c4464917 100644
--- a/media_softlet/linux/xe2_hpm_r0/encode/hevc/ddi/capstable_data_hevc_encode_xe2_hpm_r0_specific.h
+++ b/media_softlet/linux/xe2_hpm_r0/encode/hevc/ddi/capstable_data_hevc_encode_xe2_hpm_r0_specific.h
@@ -486,6 +486,7 @@ static const ProfileSurfaceAttribInfo surfaceAttribInfo_VAProfileHEVCMain10_VAEn
static const ProfileSurfaceAttribInfo surfaceAttribInfo_VAProfileHEVCMain422_10_VAEntrypointEncSlice_Xe2_Hpm_r0 =
{
{VASurfaceAttribPixelFormat, VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE, {VAGenericValueTypeInteger, {VA_FOURCC_YUY2}}},
+ {VASurfaceAttribPixelFormat, VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE, {VAGenericValueTypeInteger, {VA_FOURCC_Y210}}},
{VASurfaceAttribMaxWidth, VA_SURFACE_ATTRIB_GETTABLE, {VAGenericValueTypeInteger, {CODEC_16K_MAX_PIC_WIDTH}}},
{VASurfaceAttribMaxHeight, VA_SURFACE_ATTRIB_GETTABLE, {VAGenericValueTypeInteger, {CODEC_12K_MAX_PIC_HEIGHT}}},
{VASurfaceAttribMinWidth, VA_SURFACE_ATTRIB_GETTABLE, {VAGenericValueTypeInteger, {CODEC_128_MIN_PIC_WIDTH}}},
--
2.43.2