Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c, line 768
- drivers/gpu/drm/display/drm_hdmi_state_helper.c
- drivers/gpu/drm/drm_atomic.c, line 1444
- drivers/gpu/drm/drm_connector.c
- drivers/gpu/drm/tests/drm_connector_test.c
Smatch caller information:
drivers/gpu/drm/display/drm_hdmi_state_helper.c hdmi_compute_format_bpc() -> drm_hdmi_connector_get_output_format_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 0-3 |
| DATA_SOURCE | 0 | fmt | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fmt | unit_array_size |
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/display/drm_hdmi_state_helper.c hdmi_compute_format_bpc() -> drm_hdmi_connector_get_output_format_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 0-3 |
| DATA_SOURCE | 0 | fmt | $4 |
| FUZZY_MAX | 0 | fmt | 3 |
| HARD_MAX | 0 | fmt | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/display/drm_hdmi_state_helper.c hdmi_try_format_bpc() -> drm_hdmi_connector_get_output_format_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 0-3 |
| DATA_SOURCE | 0 | fmt | $4 |
| FUZZY_MAX | 0 | fmt | 3 |
| HARD_MAX | 0 | fmt | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/display/drm_hdmi_state_helper.c hdmi_try_format_bpc() -> drm_hdmi_connector_get_output_format_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 0-3 |
| DATA_SOURCE | 0 | fmt | $4 |
| FUZZY_MAX | 0 | fmt | 3 |
| HARD_MAX | 0 | fmt | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/display/drm_hdmi_state_helper.c hdmi_try_format_bpc() -> drm_hdmi_connector_get_output_format_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 0-3 |
| DATA_SOURCE | 0 | fmt | $4 |
| HARD_MAX | 0 | fmt | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/display/drm_hdmi_state_helper.c hdmi_try_format_bpc() -> drm_hdmi_connector_get_output_format_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 0-3 |
| DATA_SOURCE | 0 | fmt | $4 |
| HARD_MAX | 0 | fmt | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/display/drm_hdmi_state_helper.c sink_supports_format_bpc() -> drm_hdmi_connector_get_output_format_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 0-3 |
| DATA_SOURCE | 0 | fmt | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fmt | unit_array_size |
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/drm_atomic.c drm_atomic_connector_print_state() -> drm_hdmi_connector_get_output_format_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fmt | unit_array_size |
drivers/gpu/drm/tests/drm_connector_test.c drm_test_drm_hdmi_connector_get_output_format_name() -> drm_hdmi_connector_get_output_format_name()
| Type | Parameter | Key | Value |
|---|
drivers/gpu/drm/tests/drm_connector_test.c drm_test_drm_hdmi_connector_get_output_format_name_invalid() -> drm_hdmi_connector_get_output_format_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 4 |
drivers/gpu/drm/bridge/synopsys/dw-hdmi-qp.c dw_hdmi_qp_bridge_atomic_enable() -> drm_hdmi_connector_get_output_format_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | fmt | unit_array_size |
| HALF_LOCKED2 | &first_bridge->encoder->bridge_chain_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex | ||
| HALF_LOCKED2 | &state->dev->mode_config.connection_mutex.mutex |
drivers/gpu/drm/drm_connector.c drm_connector_attach_color_format_property() -> drm_hdmi_connector_get_output_format_name()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmt | 0-3 |
| CAPPED_DATA | 0 | fmt | 1 |
| DATA_SOURCE | 0 | fmt | r find_next_bit |
| RX_PATH | |||
| TASK_NOT_RUNNING |