video: rockchip: mpp: flush tlb for rkvenc2

Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com>
Change-Id: Idb9abe0fc91b918937d50035ddea9d23cc90fe21
This commit is contained in:
Yandong Lin
2023-06-08 21:06:52 +08:00
committed by Tao Huang
parent 5b2a08c484
commit a5d1e93873

View File

@ -740,6 +740,9 @@ static int rkvenc_run(struct mpp_dev *mpp, struct mpp_task *mpp_task)
}
}
/* flush tlb before starting hardware */
mpp_iommu_flush_tlb(mpp->iommu_info);
/* init current task */
mpp->cur_task = mpp_task;