drm-lease: RPi4: Disable DRM_AUTH checks on wayland_clients 89/27389/6
authorDamian Hobson-Garcia <dhobsong@igel.co.jp>
Thu, 14 Apr 2022 09:31:29 +0000 (18:31 +0900)
committerDamian Hobson-Garcia <dhobsong@igel.co.jp>
Wed, 27 Apr 2022 04:01:09 +0000 (13:01 +0900)
commite88a37a280e4cb786033279312c2602999d7c28e
tree32ce1cc535268ca027b8a9cfd21b3b4147dd0042
parent815eaa2894df802ea581be5eb18670ea660da9a4
drm-lease: RPi4: Disable DRM_AUTH checks on wayland_clients

DRM authentication does not work via a DRM Leases because the client
can only authenticate against a lease owner (primary node), since
the lease does not have a corresponding device file in the filesystem
for clients to open.

Bypassing DRM authentication by using render nodes is not yet fully
supported in mesa, so for now, just try to authenticate and
continue even if it fails.

Bug-AGL: SPEC-4317

Change-Id: Ie6c82162037964da697d3ece80a8c463980d2658
Signed-off-by: Damian Hobson-Garcia <dhobsong@igel.co.jp>
meta-agl-drm-lease/dynamic-layers/meta-raspberrypi/recipes-graphics/mesa/mesa/0001-Workaround-Disable-DRM_AUTH-checks-on-wayland-protocols.patch [new file with mode: 0644]
meta-agl-drm-lease/dynamic-layers/meta-raspberrypi/recipes-graphics/mesa/mesa_22.%.bbappend [new file with mode: 0644]