From 0eb28d40f0ec20134eae81b5e7cebec018e3b3cf Mon Sep 17 00:00:00 2001 From: Vaxry Date: Tue, 2 Jul 2024 12:11:54 +0200 Subject: [PATCH] drm: log vrr capabilities in connect --- src/backend/drm/DRM.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/backend/drm/DRM.cpp b/src/backend/drm/DRM.cpp index c3af3f7..1a06d59 100644 --- a/src/backend/drm/DRM.cpp +++ b/src/backend/drm/DRM.cpp @@ -916,6 +916,10 @@ void Aquamarine::SDRMConnector::connect(drmModeConnector* connector) { canDoVrr = props.vrr_capable && crtc->props.vrr_enabled && !getDRMProp(backend->gpu->fd, id, props.vrr_capable, &prop) && prop; output->vrrCapable = canDoVrr; + backend->backend->log(AQ_LOG_DEBUG, + std::format("drm: crtc is {} of vrr: props.vrr_capable -> {}, crtc->props.vrr_enabled -> {}", (canDoVrr ? "capable" : "incapable"), props.vrr_capable, + crtc->props.vrr_enabled)); + maxBpcBounds.fill(0); if (props.max_bpc && !introspectDRMPropRange(backend->gpu->fd, props.max_bpc, maxBpcBounds.data(), &maxBpcBounds[1]))