Skip to content

Commit

Permalink
[Media Common] [VP] xe2 keyword update
Browse files Browse the repository at this point in the history
update FtrNewCompression to FtrXe2Compression
  • Loading branch information
Dylan-debug authored and intel-mediadev committed Jun 27, 2024
1 parent 48fdaef commit a389a83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions media_softlet/linux/common/os/mos_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1944,7 +1944,7 @@ MOS_STATUS MosInterface::GetResourceInfo(
details.CompressionMode = (MOS_RESOURCE_MMC_MODE)gmmResourceInfo->GetMmcMode(0);

auto skuTable = MosInterface::GetSkuTable(streamState);
if(skuTable && MEDIA_IS_SKU(skuTable, FtrNewCompression))
if(skuTable && MEDIA_IS_SKU(skuTable, FtrXe2Compression))
{
if (gmmResourceInfo->GetResFlags().Info.MediaCompressed == 1)
{
Expand Down Expand Up @@ -2391,7 +2391,7 @@ MOS_STATUS MosInterface::GetMemoryCompressionMode(
MOS_OS_CHK_NULL_RETURN(MosInterface::GetGmmClientContext(streamState));
MOS_OS_CHK_NULL_RETURN(skuTable);

if (MEDIA_IS_SKU(skuTable, FtrNewCompression))
if (MEDIA_IS_SKU(skuTable, FtrXe2Compression))
{
// reusing MC to mark all media engins to turn on compression
if (resource->pGmmResInfo->GetResFlags().Info.MediaCompressed == 1)
Expand Down

0 comments on commit a389a83

Please sign in to comment.