ksm/plane: Add support for IN_FENCE_FD property
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3389>
This commit is contained in:
parent
962ca18341
commit
ebf9a1edde
@ -39,6 +39,7 @@ typedef enum _MetaKmsPlaneProp
|
|||||||
META_KMS_PLANE_PROP_FB_ID,
|
META_KMS_PLANE_PROP_FB_ID,
|
||||||
META_KMS_PLANE_PROP_CRTC_ID,
|
META_KMS_PLANE_PROP_CRTC_ID,
|
||||||
META_KMS_PLANE_PROP_FB_DAMAGE_CLIPS_ID,
|
META_KMS_PLANE_PROP_FB_DAMAGE_CLIPS_ID,
|
||||||
|
META_KMS_PLANE_PROP_IN_FENCE_FD,
|
||||||
META_KMS_PLANE_N_PROPS
|
META_KMS_PLANE_N_PROPS
|
||||||
} MetaKmsPlaneProp;
|
} MetaKmsPlaneProp;
|
||||||
|
|
||||||
|
@ -500,6 +500,11 @@ init_properties (MetaKmsPlane *plane,
|
|||||||
.name = "FB_DAMAGE_CLIPS",
|
.name = "FB_DAMAGE_CLIPS",
|
||||||
.type = DRM_MODE_PROP_BLOB,
|
.type = DRM_MODE_PROP_BLOB,
|
||||||
},
|
},
|
||||||
|
[META_KMS_PLANE_PROP_IN_FENCE_FD] =
|
||||||
|
{
|
||||||
|
.name = "IN_FENCE_FD",
|
||||||
|
.type = DRM_MODE_PROP_SIGNED_RANGE,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
.rotation_bitmask = {
|
.rotation_bitmask = {
|
||||||
[META_KMS_PLANE_ROTATION_BIT_ROTATE_0] =
|
[META_KMS_PLANE_ROTATION_BIT_ROTATE_0] =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user