Home
last modified time | relevance | path

Searched refs:max_bpc (Results 1 – 14 of 14) sorted by relevance

/drivers/gpu/drm/display/
A Ddrm_hdmi_state_helper.c321 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()
[all …]
A Ddrm_bridge_connector.c643 unsigned int max_bpc = 8; in drm_bridge_connector_init() local
693 if (bridge->max_bpc) in drm_bridge_connector_init()
694 max_bpc = bridge->max_bpc; in drm_bridge_connector_init()
784 max_bpc); in drm_bridge_connector_init()
/drivers/gpu/drm/
A Ddrm_connector.c579 unsigned int max_bpc) in drmm_connector_hdmi_init() argument
600 if (!(max_bpc == 8 || max_bpc == 10 || max_bpc == 12)) in drmm_connector_hdmi_init()
618 drm_connector_attach_max_bpc_property(connector, 8, max_bpc); in drmm_connector_hdmi_init()
619 connector->max_bpc = max_bpc; in drmm_connector_hdmi_init()
621 if (max_bpc > 8) in drmm_connector_hdmi_init()
2842 connector->state->max_bpc = max; in drm_connector_attach_max_bpc_property()
A Ddrm_atomic.c468 state->max_bpc = info->bpc ? info->bpc : 8; in drm_atomic_connector_check()
470 state->max_bpc = min(state->max_bpc, state->max_requested_bpc); in drm_atomic_connector_check()
/drivers/gpu/drm/tests/
A Ddrm_hdmi_state_helper_test.c145 unsigned int max_bpc, in __connector_hdmi_init() argument
195 max_bpc); in __connector_hdmi_init()
211 #define drm_kunit_helper_connector_hdmi_init_with_edid_funcs(test, formats, max_bpc, funcs, edid) \ argument
212 __connector_hdmi_init(test, formats, max_bpc, funcs, edid, ARRAY_SIZE(edid))
218 unsigned int max_bpc) in drm_kunit_helper_connector_hdmi_init() argument
222 max_bpc, in drm_kunit_helper_connector_hdmi_init()
2087 KUNIT_EXPECT_EQ(test, conn_state->max_bpc, 8); in drm_test_check_bpc_8_value()
2111 KUNIT_EXPECT_EQ(test, conn_state->max_bpc, 10); in drm_test_check_bpc_10_value()
2135 KUNIT_EXPECT_EQ(test, conn_state->max_bpc, 12); in drm_test_check_bpc_12_value()
A Ddrm_connector_test.c968 KUNIT_EXPECT_EQ(test, state->max_bpc, 8); in drm_test_connector_hdmi_init_bpc_8()
1009 KUNIT_EXPECT_EQ(test, state->max_bpc, 10); in drm_test_connector_hdmi_init_bpc_10()
1050 KUNIT_EXPECT_EQ(test, state->max_bpc, 12); in drm_test_connector_hdmi_init_bpc_12()
/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_trace.h123 __field(u8, max_bpc)
143 __entry->max_bpc = state->max_bpc;
157 __entry->max_requested_bpc, __entry->max_bpc)
A Damdgpu_dm.c7940 int max_bpc = conn_state->max_requested_bpc; in dm_encoder_helper_atomic_check() local
7946 max_bpc); in dm_encoder_helper_atomic_check()
8473 aconnector->base.state->max_bpc = 16; in amdgpu_dm_connector_init_helper()
8474 aconnector->base.state->max_requested_bpc = aconnector->base.state->max_bpc; in amdgpu_dm_connector_init_helper()
/drivers/gpu/drm/bridge/synopsys/
A Ddw-hdmi.c2650 u8 max_bpc = conn_state->max_requested_bpc; in dw_hdmi_bridge_atomic_get_output_bus_fmts() local
2681 if (max_bpc >= 16 && info->bpc == 16 && in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2685 if (max_bpc >= 12 && info->bpc >= 12 && in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2689 if (max_bpc >= 10 && info->bpc >= 10 && in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2710 if (max_bpc >= 16 && info->bpc == 16) { in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2717 if (max_bpc >= 12 && info->bpc >= 12) { in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2727 if (max_bpc >= 10 && info->bpc >= 10) { in dw_hdmi_bridge_atomic_get_output_bus_fmts()
/drivers/gpu/drm/i915/display/
A Dintel_dp.c1713 if (intel_dp->dfp.max_bpc) in intel_dp_max_bpp()
1714 bpc = min_t(int, bpc, intel_dp->dfp.max_bpc); in intel_dp_max_bpp()
2313 int max_bpc = limits->pipe.max_bpp / 3; in intel_edp_dsc_compute_pipe_bpp() local
2316 pipe_bpp = intel_dp_dsc_compute_max_bpp(connector, max_bpc); in intel_edp_dsc_compute_pipe_bpp()
5663 intel_dp->dfp.max_bpc = in intel_dp_update_dfp()
5687 intel_dp->dfp.max_bpc, in intel_dp_update_dfp()
5779 intel_dp->dfp.max_bpc = 0; in intel_dp_unset_edid()
A Dintel_modeset_setup.c314 conn_state->max_bpc = (crtc_state->pipe_bpp ?: 24) / 3; in intel_modeset_update_connector_atomic_state()
A Dintel_display_types.h1814 u8 max_bpc; member
A Dintel_display.c4298 switch (conn_state->max_bpc) { in compute_sink_pipe_bpp()
4312 MISSING_CASE(conn_state->max_bpc); in compute_sink_pipe_bpp()
/drivers/gpu/drm/vc4/
A Dvc4_hdmi.c544 unsigned int max_bpc = 8; in vc4_hdmi_connector_init() local
548 max_bpc = 12; in vc4_hdmi_connector_init()
559 max_bpc); in vc4_hdmi_connector_init()

Completed in 91 milliseconds