From 787286c946152743f8b6b76b953462251627a39f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Syrj=C3=A4l=C3=A4?= Date: Tue, 24 Jun 2025 22:41:10 +0200 Subject: [PATCH] modesetting: Enable universal planes client cap Enable the universal planes client cap so that we actually get access to the primary plane's IN_FORMATS blob. We will now start to parse the blob. Signed-off-by: notbabaisyou --- hw/xfree86/drivers/modesetting/drmmode_display.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c b/hw/xfree86/drivers/modesetting/drmmode_display.c index 29b02867e..2cb3098ad 100644 --- a/hw/xfree86/drivers/modesetting/drmmode_display.c +++ b/hw/xfree86/drivers/modesetting/drmmode_display.c @@ -2400,6 +2400,7 @@ drmmode_crtc_create_planes(xf86CrtcPtr crtc, int num) return; } + drmSetClientCap(drmmode->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1); kplane_res = drmModeGetPlaneResources(drmmode->fd); if (!kplane_res) { xf86DrvMsg(drmmode->scrn->scrnIndex, X_ERROR,