mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
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:
@@ -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)) |
|
||||
|
||||
Reference in New Issue
Block a user