Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.c suspend_resume_compute_scheduler() -> amdgpu_ring_sched_ready()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->grbm_idx_mutex
LOCK2 &adev->reset_domain->sem
HALF_LOCKED2 &p->mutex
TYPE_LOCK (struct amdgpu_device)->grbm_idx_mutex
TYPE_LOCK (struct amdgpu_reset_domain)->sem

drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c amdgpu_multi_ring_reset_helper_begin() -> amdgpu_ring_sched_ready()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
LOCK2 &adev->reset_domain->sem
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_reset_domain)->sem

drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c amdgpu_multi_ring_reset_helper_end() -> amdgpu_ring_sched_ready()

Type Parameter Key Value
PARAM_VALUE 0 ring 4096-ptr_max
LOCK2 &adev->reset_domain->sem
LOCK2 global &drm_unplug_srcu
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct amdgpu_reset_domain)->sem

drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c amdgpu_debugfs_ib_preempt() -> amdgpu_ring_sched_ready()

Type Parameter Key Value
LOCK2 &attr->mutex
TYPE_LOCK (struct simple_attr)->mutex

drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c amdgpu_debugfs_test_ib_show() -> amdgpu_ring_sched_ready()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->reset_domain->sem
LOCK2 &m->lock
TYPE_LOCK (struct amdgpu_reset_domain)->sem
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c amdgpu_debugfs_test_ib_show() -> amdgpu_ring_sched_ready()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &adev->reset_domain->sem
LOCK2 &m->lock
TYPE_LOCK (struct amdgpu_reset_domain)->sem
TYPE_LOCK (struct seq_file)->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_halt_activities() -> amdgpu_ring_sched_ready()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hive->hive_lock
HALF_LOCKED2 &tmp_adev->reset_domain->sem

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_has_job_running() -> amdgpu_ring_sched_ready()

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_pre_asic_reset() -> amdgpu_ring_sched_ready()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hive->hive_lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_sched_resume() -> amdgpu_ring_sched_ready()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hive->hive_lock