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 <though-went-some-simple@proton.me>
This commit is contained in:
parent
8f912fa4aa
commit
787286c946
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue