Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c, line 9810
- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c, line 7007
- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c, line 5292
Smatch caller information:
2424e8ec9bf51854 gfx_v12_0_ring_end_use() -> amdgpu_gfx_profile_ring_end_use()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | ring->adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | ring->adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | ring->adev->gfx.funcs->get_hdp_flush_mask | 0,1294107431044386816,7035510910386749440,8166760959833321472 |
| PARAM_VALUE | 0 | ring->adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274,282,290,488 |
| PARAM_VALUE | 0 | ring->adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | ring->adev->gfx.rlc.reg_funcs->rreg32 | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->mes.funcs->reset_hw_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ring->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_cp8 | 256 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_cp9 | 512 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_sdma0 | 1024 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_sdma1 | 2048 |
| PARAM_VALUE | 0 | ring->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ring->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs->end_use | 1-u64max |
| BUF_SIZE | 0 | ring | (-1),1360,2720,4080,13600,21760,85680,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,2720,4080,13600,21760,85680,87040 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ring->count_dw | 0-s32max[c] |
| HOST_DATA | 0 | ring->wptr | 0-u32max |
| HOST_DATA | 0 | ring->wptr_old | 0-u32max |
| HALF_LOCKED2 | &adev->gfx.gpu_clock_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | ring_lock |
28ad57647bf6154f gfx_v11_0_ring_end_use() -> amdgpu_gfx_profile_ring_end_use()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | ring->adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | ring->adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | ring->adev->gfx.funcs->get_hdp_flush_mask | 0,1294107431044386816,7035510910386749440,8166760959833321472 |
| PARAM_VALUE | 0 | ring->adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274,282,290,488 |
| PARAM_VALUE | 0 | ring->adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | ring->adev->gfx.rlc.reg_funcs->rreg32 | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->mes.funcs->reset_hw_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ring->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_cp8 | 256 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_cp9 | 512 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_sdma0 | 1024 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_sdma1 | 2048 |
| PARAM_VALUE | 0 | ring->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ring->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs->end_use | 1-u64max |
| BUF_SIZE | 0 | ring | (-1),1360,2720,4080,13600,21760,85680,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,2720,4080,13600,21760,85680,87040 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ring->count_dw | 0-s32max[c] |
| HOST_DATA | 0 | ring->wptr | 0-u32max |
| HOST_DATA | 0 | ring->wptr_old | 0-u32max |
| HALF_LOCKED2 | &adev->gfx.gpu_clock_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | ring_lock |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_ring_end_use() -> amdgpu_gfx_profile_ring_end_use()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry | 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max |
| PARAM_VALUE | 0 | ring->adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent | 0,5297,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max |
| PARAM_VALUE | 0 | ring->adev->ddev.anon_inode->i_mapping->host->i_sb->s_export_op->get_parent | 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max |
| PARAM_VALUE | 0 | ring->adev->gfx.funcs->get_hdp_flush_mask | 0,1294107431044386816,7035510910386749440,8166760959833321472 |
| PARAM_VALUE | 0 | ring->adev->gfx.rlc.cs_data->section->reg_count | 0-6,8,11,34,55-56,66,98-99,155,157-158,203,212,215,233,272,274,282,290,488 |
| PARAM_VALUE | 0 | ring->adev->gfx.rlc.cs_data->section->reg_index | 0,4,40960,41022,41164,41174,41176,41179,41461,41471-41472,41530,41630,41632-41633,41635,41637-41638,41694,41701,41717,41920,62460,65472 |
| PARAM_VALUE | 0 | ring->adev->gfx.rlc.reg_funcs->rreg32 | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->mes.funcs->reset_hw_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ring->adev->mman.bdev.dev_mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_cp8 | 256 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_cp9 | 512 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_sdma0 | 1024 |
| PARAM_VALUE | 0 | ring->adev->nbio.hdp_flush_reg->ref_and_mask_sdma1 | 2048 |
| PARAM_VALUE | 0 | ring->adev->reset_domain->sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ring->adev->reset_domain->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ring->funcs | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->funcs->end_use | 1-u64max |
| BUF_SIZE | 0 | ring | (-1),1360,2720,4080,13600,21760,85680,87040 |
| BUF_SIZE | 0 | ring | (-1),1360,2720,4080,13600,21760,85680,87040 |
| DATA_SOURCE | 0 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | ring->count_dw | 0-s32max[c] |
| HOST_DATA | 0 | ring->wptr | 0-u32max |
| HOST_DATA | 0 | ring->wptr_old | 0-u32max |
| HALF_LOCKED2 | &adev->gfx.gpu_clock_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | ring_lock |