mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
video: rockchip: mpp: rkvenc2: Fix vepu580 bs_wr addr
The buffer write address ADR_BSBS of VEPU580 differs from other IPs and requires separate definition. Change-Id: I8a97f26ffd64ac74cedeed84de408e3ec952fd52 Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
This commit is contained in:
@@ -1572,7 +1572,7 @@ static void rkvenc2_bs_overflow_handle(struct mpp_dev *mpp)
|
||||
if (bs_wr >= bs_top)
|
||||
bs_wr = bs_bot;
|
||||
/* update write addr for enc continue */
|
||||
mpp_write(mpp, RKVENC2_REG_ADR_BSBS, bs_wr);
|
||||
mpp_write(mpp, RKVENC580_REG_ADR_BSBS, bs_wr);
|
||||
} else {
|
||||
bs_rd = mpp_read(mpp, RKVENC2_REG_ADR_BSBR);
|
||||
bs_wr = mpp_read(mpp, RKVENC2_REG_ST_BSB);
|
||||
|
||||
Reference in New Issue
Block a user