vop2: 3566 vs 3568: green screen on 3566; on 3568 all ok...

Andy Yan andy.yan at rock-chips.com
Sun Dec 24 17:40:51 PST 2023


Hi Piotr:

On 12/24/23 20:37, Piotr Oniszczuk wrote:
> Hi *
> 
> I have well working video decoding + rendering to drm planes on rk3568.
> 
> On rk3566 however video playback gives mr green screen.

Please confirm that the video data you rendering to drm is afbc or non-afbc?
Please also run command "cat /sys/kernel/debug/dri/0/state" and upload the output when you get green screen on rk3036
For the convenience of comparison, please also give the dri/0/state when you playback the same video on rk3568.
> Looking on 6.6.8 vop2 sources i see e.g. rk3568_vop_win_data[] is common for 3566 and 3568.
> 
> I recall however Andy Yan (rockchip) said:
> 
> "But take care that the vop on rk3566 has a special limitation: there are three windows(Cluster1/Esmart1/Smart1) that have a mirror lock, that means they can't be programmed framebuffer address independently , they can only share framebuffer address with Cluster0/Esmart0/Smart0”.
> 
> I suspect my 3566 green video issue is somehow result of "too" common vop2 code for 3566 & 3568 variants.
> 
> Isn't that 3566 should have dedicated variant code to deal with 3566 limitations mentioned by Andy?
> 
> 
> 
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip



More information about the Linux-rockchip mailing list