Skip to content

Commit a87fb75

Browse files
vsyrjalametux
authored andcommitted
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 <[email protected]>
1 parent 671a8ee commit a87fb75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hw/xfree86/drivers/video/modesetting/drmmode_display.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2666,6 +2666,7 @@ drmmode_crtc_create_planes(xf86CrtcPtr crtc, int num)
26662666
return;
26672667
}
26682668

2669+
drmSetClientCap(drmmode->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1);
26692670
kplane_res = drmModeGetPlaneResources(drmmode->fd);
26702671
if (!kplane_res) {
26712672
xf86DrvMsg(drmmode->scrn->scrnIndex, X_ERROR,

0 commit comments

Comments
 (0)