Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c, line 828
- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c, line 4706
- drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c, line 1216
- drivers/gpu/drm/amd/amdgpu/gfx_v12_0.c, line 1032
- drivers/gpu/drm/amd/amdgpu/gfx_v12_1.c, line 935
- drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
- drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
Smatch caller information:
19f4aff6129bc862 gfx_v9_0_compute_ring_init() -> amdgpu_gfx_is_high_priority_compute_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.compute_ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| CAPPED_DATA | 1 | ring->me | 1 |
| CAPPED_DATA | 1 | ring->pipe | 1 |
| CAPPED_DATA | 1 | ring->queue | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 1 | ring->doorbell_index | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.bad_op_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.cp_ecc_error_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.eop_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.muxer.ring_entry_size | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_inst_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_reg_irq.num_types |
19f4aff6129bc862 gfx_v9_0_mqd_set_priority() -> amdgpu_gfx_is_high_priority_compute_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| DATA_SOURCE | 1 | ring | $0 |
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_compute_ring_init() -> amdgpu_gfx_is_high_priority_compute_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.compute_ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| CAPPED_DATA | 1 | ring->me | 1 |
| CAPPED_DATA | 1 | ring->pipe | 1 |
| CAPPED_DATA | 1 | ring->queue | 1 |
| CAPPED_DATA | 1 | ring->vm_hub | 1 |
| CAPPED_DATA | 1 | ring->xcc_id | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 1 | ring->doorbell_index | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.bad_op_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.eop_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_inst_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_reg_irq.num_types |
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c gfx_v9_4_3_mqd_set_priority() -> amdgpu_gfx_is_high_priority_compute_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| DATA_SOURCE | 1 | ring | $0 |
2424e8ec9bf51854 gfx_v12_0_compute_ring_init() -> amdgpu_gfx_is_high_priority_compute_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.compute_ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| CAPPED_DATA | 1 | ring->me | 1 |
| CAPPED_DATA | 1 | ring->pipe | 1 |
| CAPPED_DATA | 1 | ring->queue | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 1 | ring->doorbell_index | 0x0,0xfffffffe |
| MEM_ZERO | 0 | adev->gfx.me.queue_bitmap | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.bad_op_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.eop_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_inst_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_reg_irq.num_types |
28ad57647bf6154f gfx_v11_0_compute_ring_init() -> amdgpu_gfx_is_high_priority_compute_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.compute_ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 1 | ring->doorbell_index | 0x0,0xfffffffe |
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c amdgpu_ring_to_mqd_prop() -> amdgpu_gfx_is_high_priority_compute_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| DATA_SOURCE | 1 | ring | $0 |
| LOCK2 | &adev->srbm_mutex | ||
| HALF_LOCKED2 | 1 | ring->mqd_obj->tbo.base.resv | |
| TYPE_LOCK | (struct amdgpu_device)->srbm_mutex |
3d756af95eb3bd31 gfx_v12_1_compute_ring_init() -> amdgpu_gfx_is_high_priority_compute_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.compute_ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| CAPPED_DATA | 1 | ring->me | 1 |
| CAPPED_DATA | 1 | ring->pipe | 1 |
| CAPPED_DATA | 1 | ring->queue | 1 |
| CAPPED_DATA | 1 | ring->vm_hub | 1 |
| CAPPED_DATA | 1 | ring->xcc_id | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 1 | ring->doorbell_index | 0x0,0xfffffffe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.eop_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_inst_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_reg_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.rlc_poison_irq.num_types |
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_compute_ring_init() -> amdgpu_gfx_is_high_priority_compute_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.compute_ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| CAPPED_DATA | 1 | ring->me | 1 |
| CAPPED_DATA | 1 | ring->pipe | 1 |
| CAPPED_DATA | 1 | ring->queue | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.cp_ecc_error_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.eop_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_inst_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_reg_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.sq_irq.num_types |
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_mqd_set_priority() -> amdgpu_gfx_is_high_priority_compute_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| DATA_SOURCE | 1 | ring | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &adev->srbm_mutex | ||
| TYPE_LOCK | (struct amdgpu_device)->srbm_mutex |
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_compute_ring_init() -> amdgpu_gfx_is_high_priority_compute_queue()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adev | 4096-ptr_max |
| PARAM_VALUE | 0 | adev->gfx.compute_ring | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| CAPPED_DATA | 1 | ring->me | 1 |
| CAPPED_DATA | 1 | ring->pipe | 1 |
| CAPPED_DATA | 1 | ring->queue | 1 |
| DATA_SOURCE | 0 | adev | $0 |
| BIT_INFO | 1 | ring->doorbell_index | 0x0,0xfffffffe |
| MEM_ZERO | 0 | adev->gfx.me.queue_bitmap | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.bad_op_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.eop_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_inst_irq.num_types | |
| NO_OVERFLOW_SIMPLE | 0 | adev->gfx.priv_reg_irq.num_types |