Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c amdgpu_device_ip_set_powergating_state() -> (struct amd_ip_funcs)->set_powergating_state()

Type Parameter Key Value
PARAM_VALUE 0 ip_block 4096-ptr_max
PARAM_VALUE 0 ip_block->version 4096-ptr_max
PARAM_VALUE 1 state 0-1
DATA_SOURCE 1 state $2
HARD_MAX 1 state 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &adev->jpeg.jpeg_pg_lock
HALF_LOCKED2 &adev->pm.mutex
HALF_LOCKED2 &adev->vce.idle_mutex
HALF_LOCKED2 &vinst->engine_reset_mutex
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_soft_reset() -> (struct amd_ip_funcs)->set_powergating_state()

Type Parameter Key Value
PARAM_VALUE 0 ip_block 4096-ptr_max
PARAM_VALUE 0 ip_block->version 4096-ptr_max
PARAM_VALUE 0 ip_block->version->funcs 4096-ptr_max
PARAM_VALUE 1 state 1
DATA_SOURCE 0 ip_block $0
CONTAINER 0 -136-16-8+0 $(-1)
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c gfx_v6_0_soft_reset() -> (struct amd_ip_funcs)->set_powergating_state()

Type Parameter Key Value
PARAM_VALUE 0 ip_block 4096-ptr_max
PARAM_VALUE 0 ip_block->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ip_block->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 ip_block->version 4096-ptr_max
PARAM_VALUE 0 ip_block->version->funcs 4096-ptr_max
PARAM_VALUE 1 state 0
DATA_SOURCE 0 ip_block $0
CONTAINER 0 -136-16-8+0 $(-1)
NOCHECK_CALL

drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c amdgpu_amdkfd_set_compute_idle() -> (struct amd_ip_funcs)->set_powergating_state()

Type Parameter Key Value
PARAM_VALUE 0 ip_block 4096-ptr_max
PARAM_VALUE 0 ip_block->version 4096-ptr_max
PARAM_VALUE 1 state 0-1
DATA_SOURCE 0 ip_block r amdgpu_device_ip_get_ip_block
FUZZY_MAX 1 state 1
CONTAINER 0 -136-16-8+0 $(-1)
HARD_MAX 1 state 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &p->mutex

drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c gfx_v8_0_soft_reset() -> (struct amd_ip_funcs)->set_powergating_state()

Type Parameter Key Value
PARAM_VALUE 0 ip_block 4096-ptr_max
PARAM_VALUE 0 ip_block->adev->gfx.num_compute_rings 0-s32max
PARAM_VALUE 0 ip_block->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ip_block->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 ip_block->version 4096-ptr_max
PARAM_VALUE 0 ip_block->version->funcs 4096-ptr_max
PARAM_VALUE 0 ip_block->version->funcs->soft_reset 4096-ptr_max
PARAM_VALUE 1 state 1
DATA_SOURCE 0 ip_block $0
CONTAINER 0 -136-16-8+0 $(-1)
NOCHECK_CALL
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/gfx_v8_0.c gfx_v8_0_soft_reset() -> (struct amd_ip_funcs)->set_powergating_state()

Type Parameter Key Value
PARAM_VALUE 0 ip_block 4096-ptr_max
PARAM_VALUE 0 ip_block->adev->gfx.num_compute_rings 0-s32max
PARAM_VALUE 0 ip_block->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ip_block->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 ip_block->version 4096-ptr_max
PARAM_VALUE 0 ip_block->version->funcs 4096-ptr_max
PARAM_VALUE 0 ip_block->version->funcs->soft_reset 4096-ptr_max
PARAM_VALUE 1 state 0
DATA_SOURCE 0 ip_block $0
CONTAINER 0 -136-16-8+0 $(-1)
NOCHECK_CALL
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/gfx_v7_0.c gfx_v7_0_soft_reset() -> (struct amd_ip_funcs)->set_powergating_state()

Type Parameter Key Value
PARAM_VALUE 0 ip_block 4096-ptr_max
PARAM_VALUE 0 ip_block->adev->gfx.num_compute_rings 0-s32max
PARAM_VALUE 0 ip_block->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ip_block->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 ip_block->version 4096-ptr_max
PARAM_VALUE 0 ip_block->version->funcs 4096-ptr_max
PARAM_VALUE 0 ip_block->version->funcs->soft_reset 4096-ptr_max
PARAM_VALUE 1 state 1
DATA_SOURCE 0 ip_block $0
CONTAINER 0 -136-16-8+0 $(-1)
NOCHECK_CALL
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/gfx_v7_0.c gfx_v7_0_soft_reset() -> (struct amd_ip_funcs)->set_powergating_state()

Type Parameter Key Value
PARAM_VALUE 0 ip_block 4096-ptr_max
PARAM_VALUE 0 ip_block->adev->gfx.num_compute_rings 0-s32max
PARAM_VALUE 0 ip_block->adev->reset_domain->sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ip_block->adev->reset_domain->sem.first_waiter->type 0-1
PARAM_VALUE 0 ip_block->version 4096-ptr_max
PARAM_VALUE 0 ip_block->version->funcs 4096-ptr_max
PARAM_VALUE 0 ip_block->version->funcs->soft_reset 4096-ptr_max
PARAM_VALUE 1 state 0
DATA_SOURCE 0 ip_block $0
CONTAINER 0 -136-16-8+0 $(-1)
NOCHECK_CALL
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_device.c amdgpu_device_set_pg_state() -> (struct amd_ip_funcs)->set_powergating_state()

Type Parameter Key Value
PARAM_VALUE 0 ip_block 4096-ptr_max
PARAM_VALUE 0 ip_block->version 4096-ptr_max
PARAM_VALUE 1 state 0-1
DATA_SOURCE 1 state $1
HARD_MAX 1 state 1
RX_PATH
TASK_NOT_RUNNING