Skip to content

Commit

Permalink
[VP] change SFC temp surf as compression mode
Browse files Browse the repository at this point in the history
optimized SFC temp surface as MC mode with TileY layout.

Change-Id: I333c13b39592d579c93850f1e7a0a1f9036507d1
  • Loading branch information
SephyZhao authored and intel-mediadev committed Jun 4, 2019
1 parent 41a8bef commit 987459e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3844,18 +3844,18 @@ MOS_STATUS VPHAL_VEBOX_STATE::AllocateSfcTempSurfaces(
pSfcTempSurface->rcSrc = pOutSurface->rcSrc;
pSfcTempSurface->rcDst = pOutSurface->rcDst;

// Sfc intermediate surface should be Y tile for best performance
// Sfc intermediate surface should be Y tile for best performance meanwhile enable MMC.
VPHAL_RENDER_CHK_STATUS(VpHal_ReAllocateSurface(
pOsInterface,
pSfcTempSurface,
"VeboxSfcTempSurface",
surfaceFormat,
MOS_GFXRES_2D,
pInSurface->TileType,
MOS_TILE_Y,
dwSurfaceWidth,
dwSurfaceHeight,
false,
MOS_MMC_DISABLED,
true,
MOS_MMC_MC,
&bAllocated));

// Copy max src rect
Expand Down

0 comments on commit 987459e

Please sign in to comment.