Re: [PATCH 09/11] drm/rockchip: vop2: Add support for rk3588

From: Andy Yan
Date: Tue Nov 14 2023 - 21:03:37 EST


Hi Heiko:

On 11/15/23 07:34, Heiko Stübner wrote:
Hi Andy,

Am Dienstag, 14. November 2023, 12:28:55 CET schrieb Andy Yan:
From: Andy Yan <andy.yan@xxxxxxxxxxxxxx>

VOP2 on rk3588:

Four video ports:
VP0 Max 4096x2160
VP1 Max 4096x2160
VP2 Max 4096x2160
VP3 Max 2048x1080

4 4K Cluster windows with AFBC/line RGB and AFBC-only YUV support
4 4K Esmart windows with line RGB/YUV support

Signed-off-by: Andy Yan <andy.yan@xxxxxxxxxxxxxx>
not a review yet, but when testing and the display sets a mode,
I always get a bunch of

rockchip-drm display-subsystem: [drm] *ERROR* POST_BUF_EMPTY irq err at vp0

messages in the log (initial mode to console, starting glmark2 from console,
stopping glmark2 to the console).

I'm not sure what is up with that, have you seen these messages as well
at some point?

Yes, it will raise POST_BUF_EMPTY when set a mode,  it needs some fix like [0]:


I still trying to find a appropriate way to do it with the upstream code, as it doesn't affect the

real display function(I must admit that the POST_BUF_EMPTY irq is very annoying), so l let  it as

it is in the current version.

By the way, can you see the glmark2 rending on your HDMI monitor now?

[0]https://github.com/Fruit-Pi/kernel/commit/29af993b46f024360e6d02c0d26c9fd3057aa918


Thanks
Heiko