Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c dm_resume() -> amdgpu_dm_emulated_link_detect()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->dc 4096-ptr_max
PARAM_VALUE 0 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 0 link->dc->link_srv->detect_connection_type 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c handle_hpd_irq_helper() -> amdgpu_dm_emulated_link_detect()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->ctx 4096-ptr_max
PARAM_VALUE 0 link->dc 4096-ptr_max
PARAM_VALUE 0 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 0 link->dc->link_srv->detect_connection_type 4096-ptr_max
PARAM_VALUE 0 link->ddc->ddc_pin->pin_clock->mode (-1)-4
PARAM_VALUE 0 link->ddc->ddc_pin->pin_clock->pin 0-s64max
PARAM_VALUE 0 link->ddc->ddc_pin->pin_data->mode (-1)-4
PARAM_VALUE 0 link->ddc->ddc_pin->pin_data->pin 0-s64max
PARAM_VALUE 0 link->ddc->link->priv->i2c->base.bus_lock.rtmutex.owner 0-1
PARAM_VALUE 0 link->ddc->link->priv->i2c->base.dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 link->ddc->link->priv->i2c->base.dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 link->ddc->transaction_type 0-2
PARAM_VALUE 0 link->hpd_status 0
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.dep_map->name 0-255
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.osq.tail.counter 0-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock

drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_irq.c handle_hpd_rx_irq() -> amdgpu_dm_emulated_link_detect()

Type Parameter Key Value
PARAM_VALUE 0 link 4096-ptr_max
PARAM_VALUE 0 link->cur_link_settings.lane_count 0
PARAM_VALUE 0 link->dc 4096-ptr_max
PARAM_VALUE 0 link->dc->link_srv 4096-ptr_max
PARAM_VALUE 0 link->dc->link_srv->detect_connection_type 4096-ptr_max
PARAM_VALUE 0 link->dc->link_srv->dp_handle_hpd_rx_irq 4096-ptr_max
PARAM_VALUE 0 link->ddc->ddc_pin->pin_clock->mode (-1)-4
PARAM_VALUE 0 link->ddc->ddc_pin->pin_clock->pin 0-s64max
PARAM_VALUE 0 link->ddc->ddc_pin->pin_data->mode (-1)-4
PARAM_VALUE 0 link->ddc->ddc_pin->pin_data->pin 0-s64max
PARAM_VALUE 0 link->ddc->link->priv->i2c->base.bus_lock.rtmutex.owner 0-1
PARAM_VALUE 0 link->ddc->link->priv->i2c->base.dev.driver_data->adev->pm.bus_locked 0-1
PARAM_VALUE 0 link->ddc->link->priv->i2c->base.dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 link->ddc->transaction_type 0-2
PARAM_VALUE 0 link->dpcd_caps.is_branch_dev 0
PARAM_VALUE 0 link->dpcd_sink_count 1-u32max
PARAM_VALUE 0 link->hpd_status 0
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.dep_map->name 0-255
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 link->priv->dm_dp_aux.aux.hw_mutex.osq.tail.counter s32min-s32max
PARAM_VALUE 0 link->replay_settings.replay_power_opt_active 0-17
PARAM_VALUE 0 link->type 3
CAPPED_DATA 0 link 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &aconnector->hpd_lock
HALF_LOCKED2 &adev->dm.irq_handler_list_table_lock
HALF_LOCKED2 irq_table_flags
TYPE_LOCK (struct amdgpu_dm_connector)->hpd_lock