diff --git a/media_driver/agnostic/common/renderhal/renderhal.h b/media_driver/agnostic/common/renderhal/renderhal.h index 8df24667d2b..a1965cf76b4 100644 --- a/media_driver/agnostic/common/renderhal/renderhal.h +++ b/media_driver/agnostic/common/renderhal/renderhal.h @@ -1265,7 +1265,8 @@ typedef struct _RENDERHAL_INTERFACE bool isMMCEnabled; MediaPerfProfiler *pPerfProfiler = nullptr; //!< Performance data profiler - int32_t iSourceCount = 0; + bool eufusionBypass = false; + //--------------------------- // HW interface functions //--------------------------- diff --git a/media_driver/agnostic/common/vp/hal/vphal_render_composite.cpp b/media_driver/agnostic/common/vp/hal/vphal_render_composite.cpp index ad2d652ccd2..baf059544c7 100644 --- a/media_driver/agnostic/common/vp/hal/vphal_render_composite.cpp +++ b/media_driver/agnostic/common/vp/hal/vphal_render_composite.cpp @@ -2319,7 +2319,7 @@ MOS_STATUS CompositeState::Render( VPHAL_RENDER_ASSERTMESSAGE("Invalid number of samples."); goto finish; } - pRenderHal->iSourceCount = iSources; + pRenderHal->eufusionBypass = pRenderHal->eufusionBypass || ((iSources > 1) ? 1:0); // Determine cspace for compositing ColorSpace = PrepareCSC(pcRenderParams, pSources,