summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 097c297)
raw | patch | inline | side by side (parent: 097c297)
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Mon, 13 Mar 2017 09:08:55 +0000 (11:08 +0200) | ||
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | |
Mon, 13 Mar 2017 09:08:55 +0000 (11:08 +0200) |
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
utils/kmsprint.cpp | patch | blob | history |
diff --git a/utils/kmsprint.cpp b/utils/kmsprint.cpp
index 23aefb28d690a2470f8dd978c971b8eb56c5c049..349266827ce832e5a3569bcbd2b4deeb075cfe78 100644 (file)
--- a/utils/kmsprint.cpp
+++ b/utils/kmsprint.cpp
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,