Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/amd/amdgpu/nv.c, line 898
- drivers/gpu/drm/amd/amdgpu/soc15.c, line 1188
- drivers/gpu/drm/amd/amdgpu/soc21.c, line 892
- drivers/gpu/drm/amd/amdgpu/soc24.c, line 395
- drivers/gpu/drm/amd/amdgpu/vi.c, line 1668
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/vi.c vi_common_early_init() -> amdgpu_virt_init_setting()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 5643664043547615232 |
| PARAM_VALUE | 0 | adev->asic_type | 10-18 |
| PARAM_VALUE | 0 | adev->cg_flags | 0,130299,130303,245759,507661,4194253 |
| PARAM_VALUE | 0 | adev->pg_flags | 0,4154-4155 |
| PARAM_VALUE | 0 | adev->reg.smc.rreg | 2745404083441348608,4466220626341195776 |
| PARAM_VALUE | 0 | adev->reg.smc.wreg | 6856021170556243968,6936912783119171584 |
| BUF_SIZE | 0 | adev->asic_funcs | 192 |
| BUF_SIZE | 0 | adev->reg.didt.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.didt.wreg | 8 |
| BUF_SIZE | 0 | adev->reg.gc_cac.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.gc_cac.wreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg | 8 |
| BUF_SIZE | 0 | adev->reg.uvd_ctx.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.uvd_ctx.wreg | 8 |
| FUZZY_MAX | 0 | adev->cg_flags | 4194253 |
| FUZZY_MAX | 0 | adev->pg_flags | 4155 |
| BIT_INFO | 0 | adev->pg_flags | 0x0,0x103b |
| BIT_INFO | 0 | adev->reg.smc.rreg | 0x241922770004b000,0xffffffffffffffff |
| BIT_INFO | 0 | adev->reg.smc.wreg | 0x4004586c03800000,0xffffffffffffffff |
| BIT_INFO | 0 | adev->virt.caps | 0x4,0xffffffff |
| HARD_MAX | 0 | adev->cg_flags | 4194253 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/soc21.c soc21_common_early_init() -> amdgpu_virt_init_setting()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 7900972050145193984 |
| PARAM_VALUE | 0 | adev->cg_flags | 6257901581,6392119308,16076280589,17063056141,17129538317,17166799629 |
| PARAM_VALUE | 0 | adev->pg_flags | 1,180224-180225,253952,704513 |
| BUF_SIZE | 0 | adev->asic_funcs | 192 |
| BUF_SIZE | 0 | adev->reg.didt.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.didt.wreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.port_rreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.port_wreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg64 | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg64 | 8 |
| FUZZY_MAX | 0 | adev->cg_flags | 17166799629 |
| FUZZY_MAX | 0 | adev->pg_flags | 704513 |
| BIT_INFO | 0 | adev->cg_flags | 0x13000000c,0x3ff39930d |
| BIT_INFO | 0 | adev->pg_flags | 0x0,0xbe001 |
| BIT_INFO | 0 | adev->virt.caps | 0x4,0xffffffff |
| HARD_MAX | 0 | adev->cg_flags | 17166799629 |
| HARD_MAX | 0 | adev->pg_flags | 704513 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adev->external_rev_id | 1-47,64-95,128-143,193-223[c] |
| HOST_DATA | 0 | adev->rev_id | 0-15[c] |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/nv.c nv_common_early_init() -> amdgpu_virt_init_setting()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 4233520654483615744 |
| PARAM_VALUE | 0 | adev->cg_flags | 0,152142605,1225884429,2030145479,2030673669,3241152463,4180772815,4180774863 |
| PARAM_VALUE | 0 | adev->pg_flags | 0-73728,122880,180224-180225,245760,253952 |
| BUF_SIZE | 0 | adev->asic_funcs | 192 |
| BUF_SIZE | 0 | adev->reg.didt.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.didt.wreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.port_rreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.port_wreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg64 | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg64 | 8 |
| FUZZY_MAX | 0 | adev->cg_flags | 4180774863 |
| FUZZY_MAX | 0 | adev->pg_flags | 253952 |
| BIT_INFO | 0 | adev->cg_flags | 0x0,0xf9399fcf |
| BIT_INFO | 0 | adev->pg_flags | 0x0,0x3e001 |
| BIT_INFO | 0 | adev->virt.caps | 0x4,0xffffffff |
| HARD_MAX | 0 | adev->cg_flags | 4180774863 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adev->external_rev_id | 1-35,40-85,130-145[c] |
| HOST_DATA | 0 | adev->rev_id | 0-15[c] |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/soc15.c soc15_common_early_init() -> amdgpu_virt_init_setting()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 1239107242757230592,7298801111816130560,7299881554494836736 |
| PARAM_VALUE | 0 | adev->cg_flags | 3931983,16687055,18915151,19963727,23961551,1224772675,1224838991,2041618255,7667189773 |
| PARAM_VALUE | 0 | adev->pg_flags | 0,16640,32768,49152,180224,180480 |
| BUF_SIZE | 0 | adev->asic_funcs | 192 |
| BUF_SIZE | 0 | adev->reg.didt.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.didt.wreg | 8 |
| BUF_SIZE | 0 | adev->reg.gc_cac.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.gc_cac.wreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg64 | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg64_ext | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg_ext | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg64 | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg64_ext | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg_ext | 8 |
| BUF_SIZE | 0 | adev->reg.se_cac.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.se_cac.wreg | 8 |
| BUF_SIZE | 0 | adev->reg.smn.get_smn_base | (-1),8 |
| BUF_SIZE | 0 | adev->reg.uvd_ctx.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.uvd_ctx.wreg | 8 |
| FUZZY_MAX | 0 | adev->cg_flags | 7667189773 |
| FUZZY_MAX | 0 | adev->pg_flags | 180480 |
| BIT_INFO | 0 | adev->asic_funcs | 0x1020010c0001000,0x757efff8ef3fd000 |
| BIT_INFO | 0 | adev->cg_flags | 0x801,0x1f9ffffcf |
| BIT_INFO | 0 | adev->pg_flags | 0x0,0x2c100 |
| BIT_INFO | 0 | adev->virt.caps | 0x4,0xffffffff |
| HARD_MAX | 0 | adev->cg_flags | 7667189773 |
| HARD_MAX | 0 | adev->pg_flags | 180480 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adev->external_rev_id | 1,3-16,20-35,40-95,121-136,145-176[c] |
| HOST_DATA | 0 | adev->rev_id | 0-15[c] |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/soc24.c soc24_common_early_init() -> amdgpu_virt_init_setting()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->asic_funcs | 8452945166964125696 |
| PARAM_VALUE | 0 | adev->cg_flags | 15907947277 |
| PARAM_VALUE | 0 | adev->pg_flags | 180224,704512 |
| BUF_SIZE | 0 | adev->asic_funcs | 192 |
| BUF_SIZE | 0 | adev->reg.pcie.port_rreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.port_wreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.rreg64 | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg | 8 |
| BUF_SIZE | 0 | adev->reg.pcie.wreg64 | 8 |
| FUZZY_MAX | 0 | adev->pg_flags | 704512 |
| BIT_INFO | 0 | adev->pg_flags | 0x2c000,0xac000 |
| BIT_INFO | 0 | adev->virt.caps | 0x4,0xffffffff |
| HARD_MAX | 0 | adev->pg_flags | 704512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adev->external_rev_id | 64-95[c] |
| HOST_DATA | 0 | adev->rev_id | 0-15[c] |
| HALF_LOCKED2 | &pool->lock |