mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
video: rockchip: vpu: clear mmu status when vpu reset
Change-Id: I9c8f02e5275b2a5e286b4306a2390b8cbfdcbbe5 Signed-off-by: Jung Zhao <jung.zhao@rock-chips.com>
This commit is contained in:
@@ -682,6 +682,7 @@ static void vpu_reset(struct vpu_subdev_data *data)
|
||||
|
||||
_vpu_reset(data);
|
||||
if (data->mmu_dev && test_bit(MMU_ACTIVATED, &data->state)) {
|
||||
clear_bit(MMU_ACTIVATED, &data->state);
|
||||
if (atomic_read(&pservice->enabled)) {
|
||||
/* Need to reset iommu */
|
||||
vcodec_iommu_detach(data->iommu_info);
|
||||
|
||||
Reference in New Issue
Block a user