Skip to content
Snippets Groups Projects
Commit 0765d9b0 authored by Sugar Zhang's avatar Sugar Zhang Committed by Jianhong Chen
Browse files

rockchip: rk3588: Set DMAC0 QoS for 0x404


set DMAC0 to priority 0x404 to keep the same with DMAC1/2
which had been set 0x404 by default.

Signed-off-by: default avatarSugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I752c03a0b7d1026fe852965b13f65b789e14ab27
parent d44623ab
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,7 @@ DECLARE_GLOBAL_DATA_PTR;
#define HDMIRX_NODE_FDT_PATH "/hdmirx-controller@fdee0000"
#define RK3588_PHY_CONFIG 0xfdee00c0
#define DMAC0_PRIORITY_REG 0xfdf32208
#define VOP_M0_PRIORITY_REG 0xfdf82008
#define VOP_M1_PRIORITY_REG 0xfdf82208
#define QOS_PRIORITY_LEVEL(h, l) ((((h) & 7) << 8) | ((l) & 7))
......@@ -1045,6 +1046,12 @@ int arch_cpu_init(void)
writel(0xffff1111, BUS_IOC_BASE + BUS_IOC_GPIO2D_IOMUX_SEL_L);
writel(0xffff1111, BUS_IOC_BASE + BUS_IOC_GPIO2D_IOMUX_SEL_H);
#endif
/*
* set DMAC0 to priority 0x404 to keep the same with DMAC1/2
* which had been set 0x404 by default.
*/
writel(QOS_PRIORITY_LEVEL(4, 4), DMAC0_PRIORITY_REG);
/*
* set VOP M0 and VOP M1 to priority 0x303,then
* Peri > VOP/MCU > ISP/VICAP > other
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment