kms: Add some debug logging for added planes/connectors/CRTCs

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3926>
This commit is contained in:
Jonas Ådahl
2024-08-06 21:11:54 +02:00
committed by Marge Bot
parent 45bf41bf94
commit fd598e1868
5 changed files with 56 additions and 13 deletions

View File

@ -535,17 +535,7 @@ add_plane_property (MetaKmsImplDevice *impl_device,
static const char *
get_plane_type_string (MetaKmsPlane *plane)
{
switch (meta_kms_plane_get_plane_type (plane))
{
case META_KMS_PLANE_TYPE_PRIMARY:
return "primary";
case META_KMS_PLANE_TYPE_CURSOR:
return "cursor";
case META_KMS_PLANE_TYPE_OVERLAY:
return "overlay";
}
g_assert_not_reached ();
return meta_kms_plane_type_to_string (meta_kms_plane_get_plane_type (plane));
}
static gboolean