diff --git a/media_driver/agnostic/common/cm/cm_hal_generic.h b/media_driver/agnostic/common/cm/cm_hal_generic.h index 69172c8a4f..45a4a9fb6d 100644 --- a/media_driver/agnostic/common/cm/cm_hal_generic.h +++ b/media_driver/agnostic/common/cm/cm_hal_generic.h @@ -655,6 +655,10 @@ struct CM_HAL_GENERIC return m_decompress; } + virtual MOS_STATUS RegisterResourceBeforeLock(PMOS_INTERFACE pOsInterface, PMOS_RESOURCE pResource) + { + return MOS_STATUS_SUCCESS; + } protected: uint32_t m_platformID; uint32_t m_genGT;