Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_trace.h121 __field(u8, max_bpc)
141 __entry->max_bpc = state->max_bpc;
155 __entry->max_requested_bpc, __entry->max_bpc)
Damdgpu_dm.c6772 int max_bpc = conn_state->max_requested_bpc; in dm_encoder_helper_atomic_check() local
6777 max_bpc); in dm_encoder_helper_atomic_check()
7786 aconnector->base.state->max_bpc = (connector_type == DRM_MODE_CONNECTOR_eDP) ? 16 : 8; in amdgpu_dm_connector_init_helper()
7787 aconnector->base.state->max_requested_bpc = aconnector->base.state->max_bpc; in amdgpu_dm_connector_init_helper()
/Linux-v5.15/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c2533 u8 max_bpc = conn_state->max_requested_bpc; in dw_hdmi_bridge_atomic_get_output_bus_fmts() local
2563 if (max_bpc >= 16 && info->bpc == 16 && in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2567 if (max_bpc >= 12 && info->bpc >= 12 && in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2571 if (max_bpc >= 10 && info->bpc >= 10 && in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2588 if (max_bpc >= 16 && info->bpc == 16) { in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2595 if (max_bpc >= 12 && info->bpc >= 12) { in dw_hdmi_bridge_atomic_get_output_bus_fmts()
2605 if (max_bpc >= 10 && info->bpc >= 10) { in dw_hdmi_bridge_atomic_get_output_bus_fmts()
/Linux-v5.15/drivers/gpu/drm/
Ddrm_atomic.c455 state->max_bpc = info->bpc ? info->bpc : 8; in drm_atomic_connector_check()
457 state->max_bpc = min(state->max_bpc, state->max_requested_bpc); in drm_atomic_connector_check()
Ddrm_connector.c2149 connector->state->max_bpc = max; in drm_connector_attach_max_bpc_property()
/Linux-v5.15/include/drm/
Ddrm_connector.h782 u8 max_bpc; member
/Linux-v5.15/drivers/gpu/drm/vc4/
Dvc4_hdmi.c278 new_state->base.max_bpc = 8; in vc4_hdmi_connector_reset()
811 switch (state->max_bpc) { in vc5_hdmi_set_timings()
1105 if (conn_state->max_bpc == 12) { in vc4_hdmi_encoder_atomic_check()
1108 } else if (conn_state->max_bpc == 10) { in vc4_hdmi_encoder_atomic_check()
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_dp.c991 if (intel_dp->dfp.max_bpc) in intel_dp_max_bpp()
992 bpc = min_t(int, bpc, intel_dp->dfp.max_bpc); in intel_dp_max_bpp()
4049 intel_dp->dfp.max_bpc = in intel_dp_update_dfp()
4073 intel_dp->dfp.max_bpc, in intel_dp_update_dfp()
4177 intel_dp->dfp.max_bpc = 0; in intel_dp_unset_edid()
Dintel_display_types.h1624 u8 max_bpc; member
Dintel_display.c7473 conn_state->max_bpc = (crtc_state->pipe_bpp ?: 24) / 3; in intel_modeset_update_connector_atomic_state()
7493 switch (conn_state->max_bpc) { in compute_sink_pipe_bpp()
7507 MISSING_CASE(conn_state->max_bpc); in compute_sink_pipe_bpp()