mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-05 03:10:34 +02: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: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
parent
6cb97fbb7c
commit
a5f0b973d2
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue