Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 16 files:
- drivers/gpu/drm/amd/display/dc/opp/dcn35/dcn35_opp.c, line 44
- drivers/gpu/drm/amd/display/dc/resource/dcn20/dcn20_resource.c, line 809
- drivers/gpu/drm/amd/display/dc/resource/dcn21/dcn21_resource.c, line 1070
- drivers/gpu/drm/amd/display/dc/resource/dcn30/dcn30_resource.c, line 825
- drivers/gpu/drm/amd/display/dc/resource/dcn301/dcn301_resource.c, line 747
- drivers/gpu/drm/amd/display/dc/resource/dcn302/dcn302_resource.c, line 701
- drivers/gpu/drm/amd/display/dc/resource/dcn303/dcn303_resource.c, line 676
- drivers/gpu/drm/amd/display/dc/resource/dcn31/dcn31_resource.c, line 1007
- drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c, line 1042
- drivers/gpu/drm/amd/display/dc/resource/dcn315/dcn315_resource.c, line 1006
- drivers/gpu/drm/amd/display/dc/resource/dcn316/dcn316_resource.c, line 999
- drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c, line 1063
- drivers/gpu/drm/amd/display/dc/resource/dcn321/dcn321_resource.c, line 1051
- drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c, line 1054
- drivers/gpu/drm/amd/display/dc/resource/dcn42/dcn42_resource.c, line 1089
- drivers/gpu/drm/amd/display/dc/resource/dcn42b/dcn42b_resource.c, line 1135
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn30/dcn30_resource.c dcn30_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-5 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 2462133199464538112 |
| PARAM_VALUE | 5 | opp_mask | 3576914037622652928 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn321/dcn321_resource.c dcn321_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-3 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 2874828660934909952 |
| PARAM_VALUE | 5 | opp_mask | 6788803148433162240 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn303/dcn303_resource.c dcn303_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-1 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 4006192818887118848 |
| PARAM_VALUE | 5 | opp_mask | 2469097571986558976 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn21/dcn21_resource.c dcn21_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-3 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 7543907358253096960 |
| PARAM_VALUE | 5 | opp_mask | 1534645197776953344 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn301/dcn301_resource.c dcn301_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-3 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 412425329077305344 |
| PARAM_VALUE | 5 | opp_mask | 4793872231675535360 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/opp/dcn60/dcn60_opp.c dcn60_opp_construct() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | oppn20 | $0 |
| DATA_SOURCE | 1 | ctx | $1 |
| DATA_SOURCE | 2 | inst | $2 |
| DATA_SOURCE | 3 | regs | $3 |
| DATA_SOURCE | 4 | opp_shift | $4 |
| DATA_SOURCE | 5 | opp_mask | $5 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/opp/dcn35/dcn35_opp.c dcn35_opp_construct() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 2296073045356679168,2763625934324260864,3323745203198578688 |
| PARAM_VALUE | 5 | opp_mask | 3041806562828730368,5140496221318365184,5590998842731307008 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| DATA_SOURCE | 0 | oppn20 | $0 |
| DATA_SOURCE | 1 | ctx | $1 |
| DATA_SOURCE | 2 | inst | $2 |
| DATA_SOURCE | 3 | regs | $3 |
| DATA_SOURCE | 4 | opp_shift | $4 |
| DATA_SOURCE | 5 | opp_mask | $5 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn302/dcn302_resource.c dcn302_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-4 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 1832123488205361152 |
| PARAM_VALUE | 5 | opp_mask | 2973917134803722240 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn20/dcn20_resource.c dcn20_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-s32max |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 8582044834990784512 |
| PARAM_VALUE | 5 | opp_mask | 3471158057701978112 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| CAPPED_DATA | 2 | inst | 1 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn32/dcn32_resource.c dcn32_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-3 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 2913137180401704960 |
| PARAM_VALUE | 5 | opp_mask | 8392940979576532992 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn401/dcn401_resource.c dcn401_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-3 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 2379131175283060736 |
| PARAM_VALUE | 5 | opp_mask | 5342092688340811776 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn31/dcn31_resource.c dcn31_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-3 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 2872941958466187264 |
| PARAM_VALUE | 5 | opp_mask | 1949958404949037056 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn42b/dcn42b_resource.c dcn42b_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-2 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 779403012459507712 |
| PARAM_VALUE | 5 | opp_mask | 7745829752268926976 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn314/dcn314_resource.c dcn31_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-3 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 2021707992134746112 |
| PARAM_VALUE | 5 | opp_mask | 6016220735266906112 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn315/dcn315_resource.c dcn31_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-3 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 3793851058242932736 |
| PARAM_VALUE | 5 | opp_mask | 856235718176096256 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn42/dcn42_resource.c dcn42_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-3 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 8714189789183045632 |
| PARAM_VALUE | 5 | opp_mask | 6330124546227523584 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |
drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn316/dcn316_resource.c dcn31_opp_create() -> dcn20_opp_construct()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | oppn20 | 4096-ptr_max |
| PARAM_VALUE | 1 | ctx | 4096-ptr_max |
| PARAM_VALUE | 2 | inst | 0-3 |
| PARAM_VALUE | 3 | regs | 4096-ptr_max |
| PARAM_VALUE | 4 | opp_shift | 7105178303486193664 |
| PARAM_VALUE | 5 | opp_mask | 2813354480679825408 |
| BUF_SIZE | 0 | oppn20 | 19304 |
| BUF_SIZE | 1 | ctx->dc_bios->regs | 12 |
| DATA_SOURCE | 0 | oppn20 | r _kzalloc_noprof |
| DATA_SOURCE | 1 | ctx | $0 |
| DATA_SOURCE | 2 | inst | $1 |
| NOCHECK_CALL | |||
| UNITS | 2 | inst | unit_array_size |