mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
video: rockchip: mpp: No need to save qos when making idle requests
Playing mpeg2 video will get stuck at the last position. The reason is that qos will be saved when vdpu2 is reset. However, the pd-related clock has been turned off, causing the read and write registers to be stuck. However, when pd is switched on and off, the qos will be saved and restored by itself, and for the 3588 platform, there is no need to save qos before making an idle request. Change-Id: I048ed648a97515976f6029a9498080a1ceaa9a2e Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
This commit is contained in:
@@ -584,10 +584,8 @@ int mpp_dev_reset(struct mpp_dev *mpp)
|
||||
mpp_reset_down_write(mpp->reset_group);
|
||||
atomic_set(&mpp->reset_request, 0);
|
||||
|
||||
rockchip_save_qos(mpp->dev);
|
||||
if (mpp->hw_ops->reset)
|
||||
mpp->hw_ops->reset(mpp);
|
||||
rockchip_restore_qos(mpp->dev);
|
||||
|
||||
/* Note: if the domain does not change, iommu attach will be return
|
||||
* as an empty operation. Therefore, force to close and then open,
|
||||
|
||||
Reference in New Issue
Block a user