diff --git a/media_driver/media_softlet/agnostic/Xe_M/Xe_HPM/vp/hal/platform_interface/vp_platform_interface_xe_hpm.h b/media_driver/media_softlet/agnostic/Xe_M/Xe_HPM/vp/hal/platform_interface/vp_platform_interface_xe_hpm.h index a8afc367086..977746eb456 100644 --- a/media_driver/media_softlet/agnostic/Xe_M/Xe_HPM/vp/hal/platform_interface/vp_platform_interface_xe_hpm.h +++ b/media_driver/media_softlet/agnostic/Xe_M/Xe_HPM/vp/hal/platform_interface/vp_platform_interface_xe_hpm.h @@ -113,6 +113,11 @@ class VpPlatformInterfaceXe_Hpm : public VpPlatformInterface virtual MOS_STATUS InitVpFeatureSupportBits() override; + virtual bool SupportOclKernel() override + { + return false; + } + protected: bool m_disableSfcDithering = false; diff --git a/media_driver/media_softlet/agnostic/Xe_M/Xe_XPM/vp/hal/platform_interface/vp_platform_interface_xe_xpm.h b/media_driver/media_softlet/agnostic/Xe_M/Xe_XPM/vp/hal/platform_interface/vp_platform_interface_xe_xpm.h index 907a2e890aa..480e334ddfa 100644 --- a/media_driver/media_softlet/agnostic/Xe_M/Xe_XPM/vp/hal/platform_interface/vp_platform_interface_xe_xpm.h +++ b/media_driver/media_softlet/agnostic/Xe_M/Xe_XPM/vp/hal/platform_interface/vp_platform_interface_xe_xpm.h @@ -94,6 +94,11 @@ class VpPlatformInterfaceXe_Xpm : public VpPlatformInterface virtual MOS_STATUS ConfigureVpScalability(VP_MHWINTERFACE &vpMhwInterface); + virtual bool SupportOclKernel() override + { + return false; + } + protected: bool m_disableSfcDithering = false; MEDIA_CLASS_DEFINE_END(vp__VpPlatformInterfaceXe_Xpm) diff --git a/media_driver/media_softlet/agnostic/gen12_tgllp/vp/hal/platform_interface/vp_platform_interface_g12_tgllp.h b/media_driver/media_softlet/agnostic/gen12_tgllp/vp/hal/platform_interface/vp_platform_interface_g12_tgllp.h index 62a8f008f8c..83ca5a77872 100644 --- a/media_driver/media_softlet/agnostic/gen12_tgllp/vp/hal/platform_interface/vp_platform_interface_g12_tgllp.h +++ b/media_driver/media_softlet/agnostic/gen12_tgllp/vp/hal/platform_interface/vp_platform_interface_g12_tgllp.h @@ -105,6 +105,11 @@ class VpPlatformInterfaceG12Tgllp : public VpPlatformInterface virtual MOS_STATUS ConfigureVpScalability(VP_MHWINTERFACE &vpMhwInterface); + virtual bool SupportOclKernel() override + { + return false; + } + MEDIA_CLASS_DEFINE_END(vp__VpPlatformInterfaceG12Tgllp) }; diff --git a/media_softlet/agnostic/Xe2_M_plus/Xe2_LPM/vp/hal/platform_interface/vp_platform_interface_xe2_lpm.h b/media_softlet/agnostic/Xe2_M_plus/Xe2_LPM/vp/hal/platform_interface/vp_platform_interface_xe2_lpm.h index f7dad20b784..89e8cd8f5f6 100644 --- a/media_softlet/agnostic/Xe2_M_plus/Xe2_LPM/vp/hal/platform_interface/vp_platform_interface_xe2_lpm.h +++ b/media_softlet/agnostic/Xe2_M_plus/Xe2_LPM/vp/hal/platform_interface/vp_platform_interface_xe2_lpm.h @@ -76,6 +76,11 @@ class VpPlatformInterfacsXe2_Lpm : public VpPlatformInterface virtual MOS_STATUS InitVpFeatureSupportBits() override; + virtual bool SupportOclKernel() override + { + return false; + } + protected: bool m_disableSfcDithering = false; diff --git a/media_softlet/agnostic/Xe_M_plus/Xe2_HPM/vp/hal/platform_interface/vp_platform_interface_xe2_hpm.h b/media_softlet/agnostic/Xe_M_plus/Xe2_HPM/vp/hal/platform_interface/vp_platform_interface_xe2_hpm.h index 2d6b830f6e5..831d5ed6111 100644 --- a/media_softlet/agnostic/Xe_M_plus/Xe2_HPM/vp/hal/platform_interface/vp_platform_interface_xe2_hpm.h +++ b/media_softlet/agnostic/Xe_M_plus/Xe2_HPM/vp/hal/platform_interface/vp_platform_interface_xe2_hpm.h @@ -79,6 +79,11 @@ class VpPlatformInterfaceXe2_Hpm : public VpPlatformInterface virtual bool IsVeboxScalabilityWith4KNotSupported( VP_MHWINTERFACE vpMhwInterface); + virtual bool SupportOclKernel() override + { + return false; + } + protected: bool m_disableSfcDithering = false; diff --git a/media_softlet/agnostic/Xe_M_plus/Xe_LPM_plus/vp/hal/platform_interface/vp_platform_interface_xe_lpm_plus.h b/media_softlet/agnostic/Xe_M_plus/Xe_LPM_plus/vp/hal/platform_interface/vp_platform_interface_xe_lpm_plus.h index 4e685385548..0913fd6e63f 100644 --- a/media_softlet/agnostic/Xe_M_plus/Xe_LPM_plus/vp/hal/platform_interface/vp_platform_interface_xe_lpm_plus.h +++ b/media_softlet/agnostic/Xe_M_plus/Xe_LPM_plus/vp/hal/platform_interface/vp_platform_interface_xe_lpm_plus.h @@ -95,6 +95,11 @@ class VpPlatformInterfacesXe_Lpm_Plus : public VpPlatformInterface virtual MOS_STATUS InitVpFeatureSupportBits() override; + virtual bool SupportOclKernel() override + { + return false; + } + protected: bool m_disableSfcDithering = false; diff --git a/media_softlet/agnostic/common/vp/hal/platform_interface/vp_platform_interface.h b/media_softlet/agnostic/common/vp/hal/platform_interface/vp_platform_interface.h index af250be0988..5f1423b59f5 100644 --- a/media_softlet/agnostic/common/vp/hal/platform_interface/vp_platform_interface.h +++ b/media_softlet/agnostic/common/vp/hal/platform_interface/vp_platform_interface.h @@ -439,7 +439,7 @@ class VpPlatformInterface virtual bool SupportOclKernel() { - return false; + return true; } virtual MOS_STATUS InitVpFeatureSupportBits()