Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/gpu/drm/i915/display/intel_hdmi.c intel_hdmi_sink_format_valid() -> drm_mode_is_420()

Type Parameter Key Value
PARAM_VALUE 0 display 4096-ptr_max
PARAM_VALUE 1 mode 4096-ptr_max
BUF_SIZE 0 display 240
BUF_SIZE 1 mode (-1),120
BUF_SIZE 1 mode (-1),120
DATA_SOURCE 1 mode $1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/display/drm_hdmi_state_helper.c sink_supports_format_bpc() -> drm_mode_is_420()

Type Parameter Key Value
PARAM_VALUE 0 display 4096-ptr_max
PARAM_VALUE 0 display->hdmi.y420_vdb_modes 4096-ptr_max
PARAM_VALUE 1 mode 4096-ptr_max
BUF_SIZE 0 display 240
BUF_SIZE 1 mode (-1),120
BUF_SIZE 1 mode (-1),120
DATA_SOURCE 0 display $1
DATA_SOURCE 1 mode $2
BIT_INFO 0 display->color_formats 0x8,0xffffffff
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/i915/display/intel_dp.c intel_dp_sink_format_valid() -> drm_mode_is_420()

Type Parameter Key Value
PARAM_VALUE 0 display 4096-ptr_max
PARAM_VALUE 1 mode 4096-ptr_max
BUF_SIZE 0 display 240
BUF_SIZE 1 mode (-1),120
BUF_SIZE 1 mode (-1),120
DATA_SOURCE 1 mode $1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/tests/drm_hdmi_state_helper_test.c drm_test_check_hdmi_color_format() -> drm_mode_is_420()

Type Parameter Key Value
PARAM_VALUE 0 display 4096-ptr_max
PARAM_VALUE 1 mode 0,4096-ptr_max
BUF_SIZE 0 display 240
DATA_SOURCE 1 mode r find_preferred_mode