Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn32/dcn32_resource_helpers.c dcn32_update_dml_pipes_odm_policy_based_on_context() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->stream 1-u64max

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c commit_minimal_transition_state() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->prev_odm_pipe 0
PARAM_VALUE 0 pipe->stream 1-u64max
PARAM_VALUE 0 pipe->top_pipe 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dm->dc_lock
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct amdgpu_display_manager)->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn32/dcn32_fpu.c init_pipe_slice_table_from_context() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
DATA_SOURCE 0 pipe r resource_get_otg_master_for_stream
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c acquire_dpp_pipe_and_add_mpc_slice() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
DATA_SOURCE 0 pipe $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c release_dpp_pipe_and_remove_mpc_slice() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
DATA_SOURCE 0 pipe $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c resource_get_odm_slice_dst_width() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->stream 1-u64max
BUF_SIZE 0 pipe (-1),24624
BUF_SIZE 0 pipe (-1),24624
DATA_SOURCE 0 pipe $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c resource_remove_otg_master_for_stream_output() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
DATA_SOURCE 0 pipe r resource_get_otg_master_for_stream
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dm->dc_lock

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_resource.c resource_update_pipes_for_stream_with_slice_count() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
DATA_SOURCE 0 pipe r resource_get_otg_master_for_stream
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_state.c dc_state_add_plane() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
DATA_SOURCE 0 pipe r resource_get_otg_master_for_stream
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn20/dcn20_resource.c dcn20_validate_apply_pipe_split_flags() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->stream 4096-ptr_max
PARAM_VALUE 0 pipe->stream_res.tg 4096-ptr_max
BIT_INFO 0 pipe->stream->timing.timing_3d_format 0x0,0xf
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn20/dcn20_resource.c dcn20_validate_apply_pipe_split_flags() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->stream 4096-ptr_max
PARAM_VALUE 0 pipe->stream_res.tg 4096-ptr_max
BIT_INFO 0 pipe->stream->timing.timing_3d_format 0x0,0xf
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn20/dcn20_resource.c dcn20_validate_apply_pipe_split_flags() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn32/dcn32_resource.c dcn32_populate_dml_pipes_from_context() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn32/dcn32_resource.c dcn32_populate_dml_pipes_from_context() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->stream 1-u64max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn20/dcn20_hwseq.c dcn20_post_unlock_program_front_end() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->prev_odm_pipe 0
PARAM_VALUE 0 pipe->stream 1-u64max
PARAM_VALUE 0 pipe->top_pipe 0

drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn20/dcn20_hwseq.c dcn20_post_unlock_program_front_end() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->prev_odm_pipe 0
PARAM_VALUE 0 pipe->stream 1-u64max
PARAM_VALUE 0 pipe->top_pipe 0

drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn20/dcn20_fpu.c dcn20_populate_dml_pipes_from_context() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->stream 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn401/dcn401_hwseq.c dcn401_post_unlock_program_front_end() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->prev_odm_pipe 0
PARAM_VALUE 0 pipe->stream 1-u64max
PARAM_VALUE 0 pipe->top_pipe 0

drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn401/dcn401_hwseq.c dcn401_post_unlock_program_front_end() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->prev_odm_pipe 0
PARAM_VALUE 0 pipe->stream 1-u64max
PARAM_VALUE 0 pipe->top_pipe 0

drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn401/dcn401_hwseq.c dcn401_unblank_stream() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->stream 4096-ptr_max
DATA_SOURCE 0 pipe $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_hw_sequencer.c hwss_build_post_unlock_full_sequence() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->prev_odm_pipe 0
PARAM_VALUE 0 pipe->stream 1-u64max
PARAM_VALUE 0 pipe->top_pipe 0

drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_hw_sequencer.c hwss_build_post_unlock_full_sequence() -> resource_get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
PARAM_VALUE 0 pipe->prev_odm_pipe 0
PARAM_VALUE 0 pipe->stream 1-u64max
PARAM_VALUE 0 pipe->top_pipe 0

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml2_dc_resource_mgmt.c get_source_odm_factor() -> (struct dml2_dc_callbacks)->get_odm_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING