Re: [PATCH v7 22/24] drm: rockchip: Add VOP2 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Daniel:

  Remember you said our downstream vop2 driver is very slow on weston.

Would you please share the case you run ? or how can i test frame rate on weston?

On 3/9/22 15:37, Andy Yan wrote:
Hi Daniel:

On 3/9/22 10:03, Andy Yan wrote:
Hi Daniel:

On 3/8/22 22:04, Daniel Stone wrote:
On Tue, 8 Mar 2022 at 08:42, Andy Yan <andy.yan@xxxxxxxxxxxxxx> wrote:
On 3/7/22 21:09, Daniel Stone wrote:
On Mon, 7 Mar 2022 at 12:18, Andy Yan <andy.yan@xxxxxxxxxxxxxx> wrote:
When run a weston 10.0.0:

    # export XDG_RUNTIME_DIR=/tmp
    # weston --backend=drm-backend.so --use-pixma --tty=2
--continue=without-input

I got the following error:

drm_atomic_check_only [PLANE:31:Smart0-win0] CRTC set but no FB
Can you please start Weston with --logger-scopes=log,drm-backend and
attach the output?
Please see the weston ouput here[0]
Are you running with musl perhaps?
Do you mean the C library? I chose uClib-ng in buildroot, not use musl.
Either way, please make sure your
libdrm build includes commit 79fa377c8bdc84fde99c6a6ac17e554971c617be.


The upstream buildroot use libdrm2.4.109, this commit[0] if from libdrm2.4.110

I cherry-pick this patch to my local libdrm, but has no effect, still has "atomic: couldn't commit new state" error.

I have do a search in libdrm and weston, but find no one call drmModeAtomicMerge, is that right?

[0]https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/167


With your patch applied from libdrm2.4.110, I do a make clean for buidlroot, than build it again,  That's take effect.

I can see only the second value (non-zero FB) of plane 31 commit to the kernel. So this is works.

Maybe the buidroot should update libdrm package.

Thank you.


Cheers,
Daniel

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-rockchip



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux