Skip to content

Commit

Permalink
[VP] disable EUfusion when colorfill and rotation work togther
Browse files Browse the repository at this point in the history
disable EUfusion when colorfill and rotation work togther to fix corruption issue
  • Loading branch information
fenhu authored and intel-mediadev committed Oct 25, 2021
1 parent 8d84787 commit a6cc72e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion media_driver/agnostic/common/renderhal/renderhal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
//---------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a6cc72e

Please sign in to comment.