Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml2_wrapper_fpu.c dml2_validate_only() -> dml2_apply_det_buffer_allocation_policy()

Type Parameter Key Value
PARAM_VALUE 0 in_ctx 4096-ptr_max
PARAM_VALUE 1 dml_dispcfg 4096-ptr_max
PARAM_VALUE 1 dml_dispcfg->num_surfaces 1-s32max
MEM_ZERO 0 &in_ctx->v20.dml_core_ctx.mp
MEM_ZERO 0 &in_ctx->v20.dml_core_ctx.ms
MEM_ZERO 0 &in_ctx->v20.dml_core_ctx.policy
MEM_ZERO 0 &in_ctx->v20.scratch
MEM_ZERO 1 dml_dispcfg
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2_0/dml2_wrapper_fpu.c dml_mode_support_wrapper() -> dml2_apply_det_buffer_allocation_policy()

Type Parameter Key Value
PARAM_VALUE 0 in_ctx 4096-ptr_max
PARAM_VALUE 1 dml_dispcfg 4096-ptr_max
PARAM_VALUE 1 dml_dispcfg->num_surfaces 1-s32max
CAPPED_DATA 0 in_ctx->config.dcn_pipe_count 1
DATA_SOURCE 0 in_ctx $0
MEM_ZERO 1 dml_dispcfg
NOCHECK_CALL