Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/gpu/drm/i915/display/intel_tc.c reset_link_commit() -> intel_dp_get_active_pipes()

Type Parameter Key Value
PARAM_VALUE 0 intel_dp 4096-ptr_max
PARAM_VALUE 1 ctx 8280318294621003776
PARAM_VALUE 1 ctx->contended 0
PARAM_VALUE 1 ctx->locked.next->prev 4096-ptr_max
PARAM_VALUE 1 ctx->locked.prev 4096-ptr_max
PARAM_VALUE 1 ctx->stack_depot 0
PARAM_VALUE 1 ctx->trylock_only 0
PARAM_VALUE 1 ctx->ww_ctx.contending_lock 0,4096-ptr_max
PARAM_VALUE 2 pipe_mask 5495608097712238592
BUF_SIZE 0 intel_dp 6896
DATA_SOURCE 0 intel_dp r enc_to_intel_dp
DATA_SOURCE 1 ctx $2
MEM_ZERO 1 ctx
LOCK2 &display->drm->mode_config.connection_mutex
LOCK2 &display->drm->mode_config.mutex
HALF_LOCKED2 &display->drm->mode_config.connection_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct drm_mode_config)->connection_mutex
TYPE_LOCK (struct drm_mode_config)->mutex

drivers/gpu/drm/i915/display/intel_dp_link_training.c intel_dp_retrain_link() -> intel_dp_get_active_pipes()

Type Parameter Key Value
PARAM_VALUE 0 intel_dp 4096-ptr_max
PARAM_VALUE 0 intel_dp->attached_connector 4096-ptr_max
PARAM_VALUE 0 intel_dp->link.active 1
PARAM_VALUE 0 intel_dp->psr.lock.dep_map->name 0-255
PARAM_VALUE 0 intel_dp->psr.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 intel_dp->psr.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 intel_dp->psr.lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 intel_dp->psr.lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 intel_dp->psr.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 intel_dp->psr.lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 intel_dp->psr.lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 intel_dp->psr.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 intel_dp->psr.lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 ctx 8278532462318084096
PARAM_VALUE 1 ctx->contended 0
PARAM_VALUE 1 ctx->locked.next->prev 4096-ptr_max
PARAM_VALUE 1 ctx->locked.prev 4096-ptr_max
PARAM_VALUE 1 ctx->stack_depot 0
PARAM_VALUE 1 ctx->trylock_only 0
PARAM_VALUE 1 ctx->ww_ctx.contending_lock 0,4096-ptr_max
PARAM_VALUE 2 pipe_mask 3987471980789424128
BUF_SIZE 0 intel_dp 6896
DATA_SOURCE 0 intel_dp r enc_to_intel_dp
DATA_SOURCE 1 ctx $1
MEM_ZERO 1 ctx
LOCK2 &display->drm->mode_config.connection_mutex
HALF_LOCKED2 &display->drm->mode_config.connection_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct drm_mode_config)->connection_mutex

drivers/gpu/drm/i915/display/intel_dp_tunnel.c allocate_initial_tunnel_bw() -> intel_dp_get_active_pipes()

Type Parameter Key Value
PARAM_VALUE 0 intel_dp 4096-ptr_max
PARAM_VALUE 0 intel_dp->aux.hw_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 intel_dp->aux.hw_mutex.dep_map->name 0-255
PARAM_VALUE 0 intel_dp->aux.hw_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 intel_dp->aux.hw_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 intel_dp->aux.hw_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 intel_dp->aux.hw_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 intel_dp->aux.hw_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 intel_dp->aux.hw_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 intel_dp->link.caps 4096-ptr_max
PARAM_VALUE 0 intel_dp->max_sink_lane_count 0-31
PARAM_VALUE 0 intel_dp->num_sink_rates 0-s32max
PARAM_VALUE 0 intel_dp->num_source_rates 0-11
PARAM_VALUE 0 intel_dp->tunnel 4096-ptr_max
PARAM_VALUE 0 intel_dp->tunnel->aux->hw_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 intel_dp->tunnel->aux->hw_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 intel_dp->tunnel->aux->hw_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 intel_dp->tunnel->aux->hw_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 intel_dp->tunnel->aux->hw_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 intel_dp->tunnel->aux->hw_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 intel_dp->tunnel->bw_alloc_enabled 1
PARAM_VALUE 0 intel_dp->tunnel->bw_alloc_supported 1
PARAM_VALUE 0 intel_dp->tunnel->destroyed 0
PARAM_VALUE 0 intel_dp->tunnel->estimated_bw s32min-s32max
PARAM_VALUE 0 intel_dp->tunnel->group->available_bw s32min-s32max
PARAM_VALUE 0 intel_dp->tunnel->group->drv_group_id 0-127
PARAM_VALUE 0 intel_dp->tunnel->has_io_error 0
PARAM_VALUE 0 intel_dp->tunnel->max_dprx_lane_count 0-31
PARAM_VALUE 0 intel_dp->tunnel->max_dprx_rate 0,81000,135000-6885000
PARAM_VALUE 0 *intel_dp->downstream_ports 0-255
PARAM_VALUE 0 *intel_dp->lttpr_common_caps 0-255
PARAM_VALUE 0 *intel_dp->sink_rates s32min-s32max
PARAM_VALUE 1 ctx 1046901066036633600,1883349103664168960
PARAM_VALUE 1 ctx->interruptible 0
PARAM_VALUE 1 ctx->locked.prev 4096-ptr_max
PARAM_VALUE 1 ctx->trylock_only 0
PARAM_VALUE 1 ctx->ww_ctx.contending_lock 0,4096-ptr_max
PARAM_VALUE 1 ctx->ww_ctx.deadlock_inject_countdown 0-3758096380,u32max
PARAM_VALUE 1 ctx->ww_ctx.deadlock_inject_interval 0-3758096380,u32max
PARAM_VALUE 1 ctx->ww_ctx.wounded 0-1
PARAM_VALUE 2 pipe_mask 1992649970548559872
BUF_SIZE 0 intel_dp (-1),6896
BUF_SIZE 0 intel_dp (-1),6896
BUF_SIZE 0 intel_dp->tunnel 80
CAPPED_DATA 0 intel_dp->tunnel 1
CAPPED_DATA 0 intel_dp->tunnel->bw_granularity 1
CAPPED_DATA 0 intel_dp->tunnel->group->drv_group_id 1
DATA_SOURCE 0 intel_dp $0
DATA_SOURCE 1 ctx $1
TASK_NOT_RUNNING
HALF_LOCKED2 &_connector->dev->mode_config.connection_mutex
HALF_LOCKED2 &dev->mode_config.mutex
TYPE_LOCK (struct drm_mode_config)->connection_mutex