[PATCH v7 22/24] drm: rockchip: Add VOP2 driver
Andy Yan
andy.yan at rock-chips.com
Wed Mar 9 07:37:48 UTC 2022
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 at rock-chips.com> wrote:
>>> On 3/7/22 21:09, Daniel Stone wrote:
>>>> On Mon, 7 Mar 2022 at 12:18, Andy Yan <andy.yan at rock-chips.com> 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip
More information about the dri-devel
mailing list