mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
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:
committed by
Enrico Weigelt
parent
671a8ee04c
commit
a87fb7577e
@@ -2666,6 +2666,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,
|
||||
|
||||
Reference in New Issue
Block a user