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: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
Ville Syrjälä 2025-02-19 23:28:16 +02:00
parent 6cb97fbb7c
commit a5f0b973d2

View file

@ -2392,6 +2392,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,