Skip to content

Commit

Permalink
[Decode] Fix of MHW VVCP patch list size calculation
Browse files Browse the repository at this point in the history
This patch is to fix MHW VVCP patch list size calculation on LNL
  • Loading branch information
SteveZIntel authored and intel-mediadev committed Jul 29, 2024
1 parent 4f57c0e commit 32f1e92
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ class Impl : public BaseImpl<Cmd>
PATCH_LIST_COMMAND(mhw::vdbox::vvcp::VVCP_TILE_CODING_CMD) +
PATCH_LIST_COMMAND(mhw::vdbox::vvcp::VVCP_VD_CONTROL_STATE_CMD) * 2 +
PATCH_LIST_COMMAND(mhw::vdbox::vvcp::VD_PIPELINE_FLUSH_CMD) +
PATCH_LIST_COMMAND(mhw::vdbox::vvcp::VVCP_PIPE_MODE_SELECT_CMD);
PATCH_LIST_COMMAND(mhw::vdbox::vvcp::VVCP_PIPE_MODE_SELECT_CMD) +
PATCH_LIST_COMMAND(MI_BATCH_BUFFER_START_CMD);

*tileCommandsSize = cmd_t::VVCP_TILE_CODING_CMD::byteSize +
mhw::mi::xe2_lpm_base_next::Cmd::MI_BATCH_BUFFER_END_CMD::byteSize;
Expand Down

0 comments on commit 32f1e92

Please sign in to comment.