Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 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_index()

Type Parameter Key Value
PARAM_VALUE 0 pipe_ctx 4096-ptr_max
BUF_SIZE 0 pipe_ctx (-1),4240
BUF_SIZE 0 pipe_ctx (-1),4240
CAPPED_DATA 0 pipe_ctx 1
DATA_SOURCE 0 pipe_ctx $0
BIT_INFO 0 pipe_ctx->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_index()

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

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

Type Parameter Key Value
PARAM_VALUE 0 pipe_ctx 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->plane_state 1-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml21/dml21_utils.c find_pipe_regs_idx() -> (struct dml2_dc_callbacks)->get_mpc_slice_index()

Type Parameter Key Value
PARAM_VALUE 0 pipe_ctx 4096-ptr_max
PARAM_VALUE 0 pipe_ctx->plane_state 1-u64max
DATA_SOURCE 0 pipe_ctx $1
RX_PATH
TASK_NOT_RUNNING