From ab719026b6af58e435abfce40dd2e249c52c39be Mon Sep 17 00:00:00 2001 From: Shaofeng Tang Date: Mon, 25 Dec 2023 11:21:42 +0800 Subject: [PATCH] Add gmmlib share library Crash call stack: MhwBltInterfaceXe_Hp_Base::AddBlockCopyBlt(_MOS_COMMAND_BUFFER*, _MHW_FAST_COPY_BLT_PARAM *, unsigned int, unsigned int)+1713) BltState_Xe_Hpm::SubmitCMD(_BLT_STATE_PARAM*)+1028) BltState_Xe_Hpm::CopyMainSurface(_MOS_SPECIFIC_RESOURCE*, _MOS_SPECIFIC_RESOURCE*)+111) MediaCopyState_Xe_Hpm::MediaBltCopy(_MOS_SPECIFIC_RESOURCE*, _MOS_SPECIFIC_RESOURCE*)+46) Crash happen in BLT copy. Changes done to fix the issue: - Build gmmlib as a shared library Tests done: - Flash and boot - Playing video in the login UI of game: Honor Of Kings. Tracked-On: OAM-113684 Signed-off-by: Jeevaka Prabu Badrappan Signed-off-by: Shaofeng Tang --- groups/media/auto/product.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/groups/media/auto/product.mk b/groups/media/auto/product.mk index 44272f7d0..432060c00 100644 --- a/groups/media/auto/product.mk +++ b/groups/media/auto/product.mk @@ -41,6 +41,7 @@ BOARD_HAVE_OMX_SRC := true # Open source media_driver PRODUCT_PACKAGES += i965_drv_video PRODUCT_PACKAGES += libigfxcmrt +PRODUCT_PACKAGES += libgmm_umd # Open source hdcp PRODUCT_PACKAGES += libhdcpsdk