Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c is_dsc_need_re_compute() -> needs_dsc_aux_workaround()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
DATA_SOURCE 0 link $2

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_mst_types.c validate_dsc_caps_on_connector() -> needs_dsc_aux_workaround()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &client->modeset_mutex
HALF_LOCKED2 &connector->dev->mode_config.connection_mutex
HALF_LOCKED2 &dev->mode_config.connection_mutex
HALF_LOCKED2 &dev->mode_config.mutex
HALF_LOCKED2 &drm->mode_config.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_helpers.c dm_helpers_dp_write_dsc_enable() -> needs_dsc_aux_workaround()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c dm_mst_test_needs_dsc_aux_workaround_low_sink_count() -> needs_dsc_aux_workaround()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->dpcd_caps.branch_dev_id 9489444
PARAM_VALUE 0 link->dpcd_caps.dpcd_rev.raw 20
PARAM_VALUE 0 link->dpcd_caps.sink_count.bits.SINK_COUNT 1
BUF_SIZE 0 link 1616
DATA_SOURCE 0 link r kunit_kzalloc
MEM_ZERO 0 link

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c dm_mst_test_needs_dsc_aux_workaround_match() -> needs_dsc_aux_workaround()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->dpcd_caps.branch_dev_id 9489444
PARAM_VALUE 0 link->dpcd_caps.dpcd_rev.raw 20
PARAM_VALUE 0 link->dpcd_caps.sink_count.bits.SINK_COUNT 2
BUF_SIZE 0 link 1616
DATA_SOURCE 0 link r kunit_kzalloc
MEM_ZERO 0 link

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c dm_mst_test_needs_dsc_aux_workaround_rev12() -> needs_dsc_aux_workaround()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->dpcd_caps.branch_dev_id 9489444
PARAM_VALUE 0 link->dpcd_caps.dpcd_rev.raw 18
PARAM_VALUE 0 link->dpcd_caps.sink_count.bits.SINK_COUNT 3
BUF_SIZE 0 link 1616
DATA_SOURCE 0 link r kunit_kzalloc
MEM_ZERO 0 link

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c dm_mst_test_needs_dsc_aux_workaround_wrong_dev_id() -> needs_dsc_aux_workaround()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->dpcd_caps.branch_dev_id 1193046
PARAM_VALUE 0 link->dpcd_caps.dpcd_rev.raw 20
PARAM_VALUE 0 link->dpcd_caps.sink_count.bits.SINK_COUNT 2
BUF_SIZE 0 link 1616
DATA_SOURCE 0 link r kunit_kzalloc
MEM_ZERO 0 link

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c dm_mst_test_needs_dsc_aux_workaround_wrong_rev() -> needs_dsc_aux_workaround()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->dpcd_caps.branch_dev_id 9489444
PARAM_VALUE 0 link->dpcd_caps.dpcd_rev.raw 17
PARAM_VALUE 0 link->dpcd_caps.sink_count.bits.SINK_COUNT 2
BUF_SIZE 0 link 1616
DATA_SOURCE 0 link r kunit_kzalloc
MEM_ZERO 0 link

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/tests/amdgpu_dm_mst_types_test.c dm_mst_test_needs_dsc_aux_workaround_zero_sink_count() -> needs_dsc_aux_workaround()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->dpcd_caps.branch_dev_id 9489444
PARAM_VALUE 0 link->dpcd_caps.dpcd_rev.raw 20
PARAM_VALUE 0 link->dpcd_caps.sink_count.bits.SINK_COUNT 0
BUF_SIZE 0 link 1616
DATA_SOURCE 0 link r kunit_kzalloc
MEM_ZERO 0 link