1
0
Fork 0

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:
Michel Dänzer 2023-11-12 14:36:28 +01:00 committed by Marge Bot
parent 962ca18341
commit ebf9a1edde
2 changed files with 6 additions and 0 deletions

View file

@ -39,6 +39,7 @@ typedef enum _MetaKmsPlaneProp
META_KMS_PLANE_PROP_FB_ID,
META_KMS_PLANE_PROP_CRTC_ID,
META_KMS_PLANE_PROP_FB_DAMAGE_CLIPS_ID,
META_KMS_PLANE_PROP_IN_FENCE_FD,
META_KMS_PLANE_N_PROPS
} MetaKmsPlaneProp;

View file

@ -500,6 +500,11 @@ init_properties (MetaKmsPlane *plane,
.name = "FB_DAMAGE_CLIPS",
.type = DRM_MODE_PROP_BLOB,
},
[META_KMS_PLANE_PROP_IN_FENCE_FD] =
{
.name = "IN_FENCE_FD",
.type = DRM_MODE_PROP_SIGNED_RANGE,
},
},
.rotation_bitmask = {
[META_KMS_PLANE_ROTATION_BIT_ROTATE_0] =