video: rockchip: rga3: fix misconfiguration of updating lut table mode

Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
Change-Id: I120b57fcb2c190a3e9cba7cb49ecbb0035e498ea
This commit is contained in:
Yu Qiaowei
2022-11-21 10:10:06 +08:00
parent f13dae5b9c
commit 96e93dba44

View File

@@ -164,8 +164,8 @@ static void RGA2_set_mode_ctrl(u8 *base, struct rga2_req *msg)
bRGA_MODE_CTL = (u32 *) (base + RGA2_MODE_CTRL_OFFSET);
if (msg->render_mode == 4)
render_mode = 3;
if (msg->render_mode == UPDATE_PALETTE_TABLE_MODE)
render_mode = 0x3;
reg =
((reg & (~m_RGA2_MODE_CTRL_SW_RENDER_MODE)) |