Lines Matching refs:bpc
129 unsigned int bpc, enum vc4_hdmi_output_format fmt);
148 unsigned int bpc, in vc4_hdmi_mode_needs_scrambling() argument
151 unsigned long long clock = vc4_hdmi_encoder_compute_mode_clock(mode, bpc, fmt); in vc4_hdmi_mode_needs_scrambling()
1696 unsigned int format, unsigned int bpc) in vc4_hdmi_sink_supports_format_bpc() argument
1701 if (vic == 1 && bpc != 8) { in vc4_hdmi_sink_supports_format_bpc()
1702 drm_dbg(dev, "VIC1 requires a bpc of 8, got %u\n", bpc); in vc4_hdmi_sink_supports_format_bpc()
1707 (format != VC4_HDMI_OUTPUT_RGB || bpc != 8)) { in vc4_hdmi_sink_supports_format_bpc()
1719 if (bpc == 10 && !(info->edid_hdmi_rgb444_dc_modes & DRM_EDID_HDMI_DC_30)) { in vc4_hdmi_sink_supports_format_bpc()
1724 if (bpc == 12 && !(info->edid_hdmi_rgb444_dc_modes & DRM_EDID_HDMI_DC_36)) { in vc4_hdmi_sink_supports_format_bpc()
1741 if (bpc != 12) { in vc4_hdmi_sink_supports_format_bpc()
1758 if (bpc == 10 && !(info->edid_hdmi_ycbcr444_dc_modes & DRM_EDID_HDMI_DC_30)) { in vc4_hdmi_sink_supports_format_bpc()
1763 if (bpc == 12 && !(info->edid_hdmi_ycbcr444_dc_modes & DRM_EDID_HDMI_DC_36)) { in vc4_hdmi_sink_supports_format_bpc()
1805 unsigned int bpc, in vc4_hdmi_encoder_compute_mode_clock() argument
1814 bpc = 8; in vc4_hdmi_encoder_compute_mode_clock()
1816 clock = clock * bpc; in vc4_hdmi_encoder_compute_mode_clock()
1826 unsigned int bpc, unsigned int fmt) in vc4_hdmi_encoder_compute_clock() argument
1830 clock = vc4_hdmi_encoder_compute_mode_clock(mode, bpc, fmt); in vc4_hdmi_encoder_compute_clock()
1843 unsigned int bpc) in vc4_hdmi_encoder_compute_format() argument
1853 if (vc4_hdmi_sink_supports_format_bpc(vc4_hdmi, info, mode, format, bpc)) { in vc4_hdmi_encoder_compute_format()
1857 mode, bpc, format); in vc4_hdmi_encoder_compute_format()
1867 if (vc4_hdmi_sink_supports_format_bpc(vc4_hdmi, info, mode, format, bpc)) { in vc4_hdmi_encoder_compute_format()
1871 mode, bpc, format); in vc4_hdmi_encoder_compute_format()
1891 unsigned int bpc; in vc4_hdmi_encoder_compute_config() local
1894 for (bpc = max_bpc; bpc >= 8; bpc -= 2) { in vc4_hdmi_encoder_compute_config()
1895 drm_dbg(dev, "Trying with a %d bpc output\n", bpc); in vc4_hdmi_encoder_compute_config()
1898 mode, bpc); in vc4_hdmi_encoder_compute_config()
1902 vc4_state->output_bpc = bpc; in vc4_hdmi_encoder_compute_config()