Lines Matching refs:max_bpc
321 unsigned int max_bpc = connector->max_bpc; in __drm_atomic_helper_connector_hdmi_reset() local
323 new_conn_state->max_bpc = max_bpc; in __drm_atomic_helper_connector_hdmi_reset()
324 new_conn_state->max_requested_bpc = max_bpc; in __drm_atomic_helper_connector_hdmi_reset()
614 unsigned int max_bpc, enum hdmi_colorspace fmt) in hdmi_compute_format_bpc() argument
620 for (bpc = max_bpc; bpc >= 8; bpc -= 2) { in hdmi_compute_format_bpc()
649 unsigned int max_bpc = clamp_t(unsigned int, in hdmi_compute_config() local
650 conn_state->max_bpc, in hdmi_compute_config()
651 8, connector->max_bpc); in hdmi_compute_config()
654 ret = hdmi_compute_format_bpc(connector, conn_state, mode, max_bpc, in hdmi_compute_config()
659 mode, max_bpc, in hdmi_compute_config()
745 if (connector->max_bpc < 10) in hdmi_generate_hdr_infoframe()