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/dc/dc_spl_translate.c translate_SPL_in_params_from_pipe_ctx() -> resource_get_mpc_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 4096-ptr_max
BUF_SIZE 0 pipe (-1),4240
BUF_SIZE 0 pipe (-1),4240
CAPPED_DATA 0 pipe 1
DATA_SOURCE 0 pipe $0
BIT_INFO 0 pipe->plane_res.scl_data.lb_params.depth 0x0,0xc
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

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

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

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

Type Parameter Key Value
PARAM_VALUE 0 pipe 0
BUF_SIZE 0 pipe 0
PREEMPT_ADD
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_mpc_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 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_mpc_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 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_mpc_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/dml2_0/dml2_dc_resource_mgmt.c get_source_mpc_factor() -> (struct dml2_dc_callbacks)->get_mpc_slice_count()

Type Parameter Key Value
PARAM_VALUE 0 pipe 0
BUF_SIZE 0 pipe 0
RX_PATH
TASK_NOT_RUNNING