mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
video: rockchip: mpp: reset osd plt clock config before setting register
rkvenc: osd plt clock should reset, othterwise, osd setting will not work Change-Id: I47752b735b6f63303e9b12f4616510f2701970bd Signed-off-by: Ding Wei <leo.ding@rock-chips.com>
This commit is contained in:
@@ -384,6 +384,12 @@ static int rkvenc_run(struct mpp_dev *mpp,
|
||||
struct mpp_request *req;
|
||||
u32 reg_en = task->hw_info->reg_en;
|
||||
|
||||
/*
|
||||
* Tips: ensure osd plt clock is 0 before setting register,
|
||||
* otherwise, osd setting will not work
|
||||
*/
|
||||
mpp_write_relaxed(mpp, RKVENC_OSD_CFG_BASE, 0);
|
||||
wmb();
|
||||
for (i = 0; i < task->w_req_cnt; i++) {
|
||||
int s, e;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user