From ef5f9b0007862aea8e0cb66eb0a5138414dbc13b Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 28 Mar 2023 00:17:51 +0000 Subject: [PATCH] drm/connector: print max_requested_bpc in state debugfs From Harry Wentland 8d2ca666a7b415a4a063be39b20c2b99c42421cb in linux-6.1.y/6.1.20 7d386975f6a495902e679a3a250a7456d7e54765 in mainline linux --- sys/dev/pci/drm/drm_atomic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/pci/drm/drm_atomic.c b/sys/dev/pci/drm/drm_atomic.c index af307a3d158..5b1afb8f161 100644 --- a/sys/dev/pci/drm/drm_atomic.c +++ b/sys/dev/pci/drm/drm_atomic.c @@ -1089,6 +1089,7 @@ static void drm_atomic_connector_print_state(struct drm_printer *p, drm_printf(p, "connector[%u]: %s\n", connector->base.id, connector->name); drm_printf(p, "\tcrtc=%s\n", state->crtc ? state->crtc->name : "(null)"); drm_printf(p, "\tself_refresh_aware=%d\n", state->self_refresh_aware); + drm_printf(p, "\tmax_requested_bpc=%d\n", state->max_requested_bpc); if (connector->connector_type == DRM_MODE_CONNECTOR_WRITEBACK) if (state->writeback_job && state->writeback_job->fb) -- 2.20.1