Skip to content

Commit 7d38697

Browse files
Harry Wentlandalexdeucher
authored andcommitted
drm/connector: print max_requested_bpc in state debugfs
This is useful to understand the bpc defaults and support of a driver. Signed-off-by: Harry Wentland <[email protected]> Cc: Pekka Paalanen <[email protected]> Cc: Sebastian Wick <[email protected]> Cc: [email protected] Cc: Uma Shankar <[email protected]> Cc: Ville Syrjälä <[email protected]> Cc: Joshua Ashton <[email protected]> Cc: Jani Nikula <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-By: Joshua Ashton <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Alex Deucher <[email protected]> Cc: [email protected]
1 parent e5eef23 commit 7d38697

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/gpu/drm/drm_atomic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1070,6 +1070,7 @@ static void drm_atomic_connector_print_state(struct drm_printer *p,
10701070
drm_printf(p, "connector[%u]: %s\n", connector->base.id, connector->name);
10711071
drm_printf(p, "\tcrtc=%s\n", state->crtc ? state->crtc->name : "(null)");
10721072
drm_printf(p, "\tself_refresh_aware=%d\n", state->self_refresh_aware);
1073+
drm_printf(p, "\tmax_requested_bpc=%d\n", state->max_requested_bpc);
10731074

10741075
if (connector->connector_type == DRM_MODE_CONNECTOR_WRITEBACK)
10751076
if (state->writeback_job && state->writeback_job->fb)

0 commit comments

Comments
 (0)