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/resource/dcn10/dcn10_resource.c dcn10_add_stream_to_ctx() -> resource_map_phy_clock_resources()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 0 dc->res_pool 4096-ptr_max
PARAM_VALUE 1 context 4096-ptr_max
PARAM_VALUE 2 stream 4096-ptr_max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 2 stream (-1)-0,26536,26544
BUF_SIZE 2 stream (-1)-0,26536,26544
DATA_SOURCE 0 dc $0
DATA_SOURCE 1 context $1
DATA_SOURCE 2 stream $2
TASK_NOT_RUNNING
HALF_LOCKED2 &dm->dc_lock

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

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 0 dc->res_pool 4096-ptr_max
PARAM_VALUE 1 context 4096-ptr_max
PARAM_VALUE 2 stream 4096-ptr_max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 2 stream (-1)-0,26536,26544
BUF_SIZE 2 stream (-1)-0,26536,26544
DATA_SOURCE 0 dc $0
DATA_SOURCE 1 context $1
DATA_SOURCE 2 stream $2
TASK_NOT_RUNNING

drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dce112/dce112_resource.c dce112_add_stream_to_ctx() -> resource_map_phy_clock_resources()

Type Parameter Key Value
PARAM_VALUE 0 dc 4096-ptr_max
PARAM_VALUE 0 dc->res_pool 4096-ptr_max
PARAM_VALUE 1 context 4096-ptr_max
PARAM_VALUE 2 stream 4096-ptr_max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 1 context (-1),4097-s32max
BUF_SIZE 2 stream (-1)-0,26536,26544
BUF_SIZE 2 stream (-1)-0,26536,26544
DATA_SOURCE 0 dc $0
DATA_SOURCE 1 context $1
DATA_SOURCE 2 stream $2
TASK_NOT_RUNNING
HALF_LOCKED2 &dm->dc_lock