mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 11:26:02 +09:00
arm64: dts: rockchip: rk3588s reserve rkvdec iova closed to 4GiB address
Rockchip RK3588 rkvdecs use sram as part of buffer, then reserve the
iommu iova for the rcb. This patch changes the iova range close to 4G
to make the iova space more contiguous for the future.
With this patch, the iova reserve as following:
[ 1.619149] mpp_rkvdec2 fdc38100.rkvdec-core: rcb_iova 0x00000000fff00000
[ 1.630537] mpp_rkvdec2 fdc48100.rkvdec-core: rcb_iova 0x00000000ffe00000
Fixes: 707f4713a1 ("arm64: dts: rockchip: rk3588s: Add soft-ccu mode for rkvdec2")
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: I2ec03a6a68c7fe87a0e3966e773991d024e58d20
This commit is contained in:
@@ -3311,8 +3311,8 @@
|
||||
rockchip,core-mask = <0x00010001>;
|
||||
rockchip,taskqueue-node = <9>;
|
||||
rockchip,sram = <&rkvdec0_sram>;
|
||||
/* rcb_iova: start and size */
|
||||
rockchip,rcb-iova = <0x10000000 0x100000>;
|
||||
/* rcb_iova: start and size 1M@4095M */
|
||||
rockchip,rcb-iova = <0xFFF00000 0x100000>;
|
||||
rockchip,rcb-min-width = <512>;
|
||||
power-domains = <&power RK3588_PD_RKVDEC0>;
|
||||
status = "disabled";
|
||||
@@ -3361,8 +3361,8 @@
|
||||
rockchip,core-mask = <0x00020002>;
|
||||
rockchip,taskqueue-node = <9>;
|
||||
rockchip,sram = <&rkvdec1_sram>;
|
||||
/* rcb_iova: start and size */
|
||||
rockchip,rcb-iova = <0x10100000 0x100000>;
|
||||
/* rcb_iova: start and size 1M@4094M */
|
||||
rockchip,rcb-iova = <0xFFE00000 0x100000>;
|
||||
rockchip,rcb-min-width = <512>;
|
||||
power-domains = <&power RK3588_PD_RKVDEC1>;
|
||||
status = "disabled";
|
||||
|
||||
Reference in New Issue
Block a user