summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/kmsprint.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/kmsprint.cpp b/utils/kmsprint.cpp
index 23aefb2..3492668 100644
--- a/utils/kmsprint.cpp
+++ b/utils/kmsprint.cpp
@@ -101,6 +101,10 @@ static string format_plane(Plane& p)
if (p.fb_id())
str += sformat(" fb-id: %u", p.fb_id());
+ string crtcs = join<Crtc*>(p.get_possible_crtcs(), " ", [](Crtc* crtc) { return to_string(crtc->idx()); });
+
+ str += sformat(" (crtcs: %s)", crtcs.c_str());
+
if (p.card().has_atomic()) {
str += sformat(" %u,%u %ux%u -> %u,%u %ux%u",
(uint32_t)p.get_prop_value("SRC_X") >> 16,