Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 4817
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c, line 121
- drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h, line 164
- drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c, line 363
- drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c, line 356
- drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c
- drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c
Smatch caller information:
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c amdgpu_jpeg_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c amdgpu_mcbp_handle_trailing_fence_irq() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| PARAM_VALUE | 0 | ring->fence_drv.last_seq.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_ring_mux.c amdgpu_mcbp_scan() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dqm->lock_hidden |
drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c amdgpu_vce_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c vcn_v2_5_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c vcn_v2_5_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c vcn_v2_5_ring_begin_use() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->gfx.gpu_clock_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &adev->srbm_mutex | ||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | &mux->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | ring_lock |
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ring | 12640 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ring | 12640 |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_set_pg_for_begin_use() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->gfx.gpu_clock_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &adev->srbm_mutex | ||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | &mux->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | ring_lock |
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c vcn_v1_0_set_pg_for_begin_use() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ring | 12640 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adev->gfx.gpu_clock_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &adev->srbm_mutex | ||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | &mux->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | ring_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c amdgpu_uvd_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c amdgpu_vcn_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c amdgpu_vcn_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c amdgpu_vcn_ring_begin_use() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vcn_inst->vcn_pg_lock | ||
| HALF_LOCKED2 | &adev->gfx.gpu_clock_mutex | ||
| HALF_LOCKED2 | &adev->reset_domain->sem | ||
| HALF_LOCKED2 | &adev->srbm_mutex | ||
| HALF_LOCKED2 | &kiq->ring_lock | ||
| HALF_LOCKED2 | &mux->lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| HALF_LOCKED2 | ring_lock | ||
| TYPE_LOCK | (struct amdgpu_vcn_inst)->vcn_pg_lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c vpe_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_enforce_isolation_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| LOCK2 | &adev->enforce_isolation_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_device)->enforce_isolation_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_enforce_isolation_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| LOCK2 | &adev->enforce_isolation_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_device)->enforce_isolation_mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_profile_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c amdgpu_gfx_profile_idle_work_handler() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_has_job_running() -> amdgpu_fence_count_emitted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ring | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |