mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 03:20:46 -05:00
crtc/kms: Turn g_debug()s to meta_topic()s
This way they can easily be enabled with e.g. MUTTER_DEBUG=kms. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488>
This commit is contained in:
parent
588c0a456a
commit
214850143d
@ -230,14 +230,16 @@ meta_crtc_kms_set_mode (MetaCrtcKms *crtc_kms,
|
|||||||
|
|
||||||
kms_mode = meta_crtc_mode_kms_get_kms_mode (crtc_mode_kms);
|
kms_mode = meta_crtc_mode_kms_get_kms_mode (crtc_mode_kms);
|
||||||
|
|
||||||
g_debug ("Setting CRTC (%" G_GUINT64_FORMAT ") mode to %s",
|
meta_topic (META_DEBUG_KMS,
|
||||||
|
"Setting CRTC (%" G_GUINT64_FORMAT ") mode to %s",
|
||||||
meta_crtc_get_id (crtc), meta_kms_mode_get_name (kms_mode));
|
meta_crtc_get_id (crtc), meta_kms_mode_get_name (kms_mode));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
kms_mode = NULL;
|
kms_mode = NULL;
|
||||||
|
|
||||||
g_debug ("Unsetting CRTC (%" G_GUINT64_FORMAT ") mode",
|
meta_topic (META_DEBUG_KMS,
|
||||||
|
"Unsetting CRTC (%" G_GUINT64_FORMAT ") mode",
|
||||||
meta_crtc_get_id (crtc));
|
meta_crtc_get_id (crtc));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user