rockchip-linux / kernel

BSP kernel source
Other
894 stars 1.06k forks source link

RK3328: RGA (2D graphics acceleration) device tree entry is missing #28

Open OtherCrashOverride opened 6 years ago

OtherCrashOverride commented 6 years ago

According to the RK3328TRM http://opensource.rock-chips.com/images/9/97/Rockchip_RK3328TRM_V1.1-Part1-20170321.pdf

Page 13, Figure 1-1 shows RGA to be present at FF39_0000 to FF3A_0000. However, the RK3328 device tree does not contain an entry for RGA. https://github.com/rockchip-linux/kernel/blob/release-4.4/arch/arm64/boot/dts/rockchip/rk3328.dtsi

A device tree entry for RGA on RK3328 needs to be added.

wzyy2 commented 6 years ago

RGA driver is still under development, we are not very satisfied with the current driver.

nikitos1550 commented 6 years ago

What is status for rga now? can you provide some sample of rga dts for testing? For rk3328.

P.S. Mainly interested in colorspace conversion and scaling functions.

wzyy2 commented 6 years ago

RGA driver is finished now. You can add rga device tree node for rk3328 by yourself. If it work, you can send the patch to mainline kernel and i can backport it.

refer to: https://github.com/rockchip-linux/kernel/blob/release-3.10/arch/arm64/boot/dts/rk322xh.dtsi#L1033 https://kernel.googlesource.com/pub/scm/linux/kernel/git/next/linux-next/+/master/Documentation/devicetree/bindings/media/rockchip-rga.txt

nikitos1550 commented 6 years ago

Thanks, I will try.