Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/radeon/radeon_pm.c radeon_dynpm_idle_work_handler() -> (struct radeon_asic)->pm.get_dynpm_state()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->asic 4096-ptr_max
PARAM_VALUE 0 rdev->pm.dynpm_planned_action 1-u32max
PARAM_VALUE 0 rdev->pm.dynpm_state 3
PARAM_VALUE 0 rdev->pm.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rdev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner_cpu u32max
CAPPED_DATA 0 &rdev->pm.mutex 1
NOCHECK_CALL
LOCK2 &rdev->pm.mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct radeon_pm)->mutex

drivers/gpu/drm/radeon/radeon_pm.c radeon_pm_compute_clocks_old() -> (struct radeon_asic)->pm.get_dynpm_state()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->asic 4096-ptr_max
PARAM_VALUE 0 rdev->mode_info.mode_config_initialized 1
PARAM_VALUE 0 rdev->num_crtc s32min-(-1),1-s32max
PARAM_VALUE 0 rdev->pm.active_crtc_count 2-s32max
PARAM_VALUE 0 rdev->pm.dynpm_planned_action 4
PARAM_VALUE 0 rdev->pm.dynpm_state 2
PARAM_VALUE 0 rdev->pm.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rdev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 rdev->pm.num_power_states 2-s32max
PARAM_VALUE 0 rdev->pm.pm_method 1
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
CAPPED_DATA 0 &rdev->pm.mutex 1
DATA_SOURCE 0 rdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 rdev->rmmio_size
LOCK2 &rdev->pm.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_pm)->mutex

drivers/gpu/drm/radeon/radeon_pm.c radeon_pm_compute_clocks_old() -> (struct radeon_asic)->pm.get_dynpm_state()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->asic 4096-ptr_max
PARAM_VALUE 0 rdev->mode_info.mode_config_initialized 1
PARAM_VALUE 0 rdev->num_crtc s32min-(-1),1-s32max
PARAM_VALUE 0 rdev->pm.active_crtc_count 1
PARAM_VALUE 0 rdev->pm.dynpm_planned_action 3
PARAM_VALUE 0 rdev->pm.dynpm_state 3
PARAM_VALUE 0 rdev->pm.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rdev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 rdev->pm.num_power_states 2-s32max
PARAM_VALUE 0 rdev->pm.pm_method 1
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
CAPPED_DATA 0 &rdev->pm.mutex 1
DATA_SOURCE 0 rdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 rdev->rmmio_size
LOCK2 &rdev->pm.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_pm)->mutex

drivers/gpu/drm/radeon/radeon_pm.c radeon_pm_compute_clocks_old() -> (struct radeon_asic)->pm.get_dynpm_state()

Type Parameter Key Value
PARAM_VALUE 0 rdev 4096-ptr_max
PARAM_VALUE 0 rdev->asic 4096-ptr_max
PARAM_VALUE 0 rdev->pm.active_crtc_count 0
PARAM_VALUE 0 rdev->pm.active_crtcs 0
PARAM_VALUE 0 rdev->pm.dynpm_planned_action 1
PARAM_VALUE 0 rdev->pm.dynpm_state 1
PARAM_VALUE 0 rdev->pm.mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rdev->pm.mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner (-1)
PARAM_VALUE 0 rdev->pm.mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 rdev->pm.num_power_states 2-s32max
PARAM_VALUE 0 rdev->pm.pm_method 1
BUF_SIZE 0 rdev s32min-(-1),1-s32max
BUF_SIZE 0 rdev s32min-(-1),1-s32max
CAPPED_DATA 0 &rdev->pm.mutex 1
DATA_SOURCE 0 rdev $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 rdev->rmmio_size
LOCK2 &rdev->pm.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &rdev->exclusive_lock
TYPE_LOCK (struct radeon_pm)->mutex