Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

28ad57647bf6154f gfx_v11_0_gfx_ring_init() -> amdgpu_gfx_is_high_priority_graphics_queue()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfx.gfx_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_graphics_queue()

Type Parameter Key Value
PARAM_VALUE 1 ring 4096-ptr_max
CAPPED_DATA 1 ring 1
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

drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c gfx_v10_0_gfx_ring_init() -> amdgpu_gfx_is_high_priority_graphics_queue()

Type Parameter Key Value
PARAM_VALUE 0 adev 4096-ptr_max
PARAM_VALUE 0 adev->gfx.gfx_ring 4096-ptr_max
PARAM_VALUE 0 adev->gfx.me.num_pipe_per_me 1-u32max
PARAM_VALUE 1 ring 4096-ptr_max
PARAM_VALUE 1 ring->me 0-s32max
PARAM_VALUE 1 ring->pipe 0-s32max
PARAM_VALUE 1 ring->queue 0
CAPPED_DATA 1 ring->me 1
CAPPED_DATA 1 ring->pipe 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