Skip to content

Commit

Permalink
[Encode] Set RAW Sync as READ only
Browse files Browse the repository at this point in the history
Set RAW Sync as READ only, RAW is only readable for encode processing
  • Loading branch information
leyu-yao authored and intel-mediadev committed Jul 26, 2023
1 parent 4bc1210 commit 9ccd32e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions media_softlet/agnostic/common/hw/vdbox/mhw_vdbox_avp_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1741,7 +1741,7 @@ class Impl : public Itf, public mhw::Impl
resourceParams.dwOffset = 0;
resourceParams.pdwCmd = (cmd.OriginalUncompressedPictureSourceBufferAddress.DW0_1.Value);
resourceParams.dwLocationInCmd = _MHW_CMD_DW_LOCATION(OriginalUncompressedPictureSourceBufferAddress);
resourceParams.bIsWritable = true;
resourceParams.bIsWritable = false;

InitMocsParams(resourceParams, &cmd.OriginalUncompressedPictureSourceBufferAddressAttributes.DW0.Value, 1, 6);

Expand All @@ -1767,7 +1767,7 @@ class Impl : public Itf, public mhw::Impl
resourceParams.dwOffset = 0;
resourceParams.pdwCmd = (cmd.DownscaledUncompressedPictureSourceBufferAddress.DW0_1.Value);
resourceParams.dwLocationInCmd = _MHW_CMD_DW_LOCATION(DownscaledUncompressedPictureSourceBufferAddress);
resourceParams.bIsWritable = true;
resourceParams.bIsWritable = false;

InitMocsParams(resourceParams, &cmd.DownscaledUncompressedPictureSourceBufferAddressAttributes.DW0.Value, 1, 6);

Expand Down

0 comments on commit 9ccd32e

Please sign in to comment.