From 0b4a214b48212bdf6c066912447e6a235c8d2978 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Thu, 7 Aug 2025 06:39:19 +0300 Subject: kmsprint: Use fourccs, not PixelFormats --- utils/kmsprint.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/kmsprint.cpp b/utils/kmsprint.cpp index 919b50f..71bcb70 100644 --- a/utils/kmsprint.cpp +++ b/utils/kmsprint.cpp @@ -111,7 +111,7 @@ static string format_plane(Plane& p) (uint32_t)p.get_prop_value("CRTC_H")); } - string fmts = join(p.get_formats(), " ", [](PixelFormat fmt) { return pixel_format_to_fourcc_str(fmt); }); + string fmts = join(p.get_fourccs(), " ", [](uint32_t fourcc) { return fourcc_to_str(fourcc); }); str += fmt::format(" ({})", fmts); @@ -122,7 +122,7 @@ static string format_fb(Framebuffer& fb) { return fmt::format("FB {} {}x{} {}", fb.id(), fb.width(), fb.height(), - pixel_format_to_fourcc_str(fb.format())); + fourcc_to_str(fb.fourcc())); } static string format_property(const Property* prop, uint64_t val) -- cgit v1.2.3