drm/connector: print max_requested_bpc in state debugfs
authorjsg <jsg@openbsd.org>
Tue, 28 Mar 2023 00:17:51 +0000 (00:17 +0000)
committerjsg <jsg@openbsd.org>
Tue, 28 Mar 2023 00:17:51 +0000 (00:17 +0000)
From Harry Wentland
8d2ca666a7b415a4a063be39b20c2b99c42421cb in linux-6.1.y/6.1.20
7d386975f6a495902e679a3a250a7456d7e54765 in mainline linux

sys/dev/pci/drm/drm_atomic.c

index af307a3..5b1afb8 100644 (file)
@@ -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)