Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/i915/display/intel_dp_tunnel.c allocate_initial_tunnel_bw_for_pipes() -> drm_dp_tunnel_alloc_bw()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->aux->hw_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 tunnel->aux->hw_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 tunnel->aux->hw_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 tunnel->aux->hw_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 tunnel->aux->hw_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 tunnel->aux->hw_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 tunnel->aux->hw_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 tunnel->bw_alloc_enabled 1
PARAM_VALUE 0 tunnel->bw_alloc_supported 1
PARAM_VALUE 0 tunnel->destroyed 0
PARAM_VALUE 0 tunnel->estimated_bw s32min-s32max
PARAM_VALUE 0 tunnel->group->available_bw s32min-s32max
PARAM_VALUE 0 tunnel->group->drv_group_id 0-127
PARAM_VALUE 0 tunnel->has_io_error 0
PARAM_VALUE 0 tunnel->max_dprx_lane_count 0-31
PARAM_VALUE 0 tunnel->max_dprx_rate 0,81000,135000-6885000
BUF_SIZE 0 tunnel (-1),80
BUF_SIZE 0 tunnel (-1),80
CAPPED_DATA 0 tunnel 1
CAPPED_DATA 0 tunnel->bw_granularity 1
CAPPED_DATA 0 tunnel->group->drv_group_id 1
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/display/intel_dp_tunnel.c atomic_decrease_bw() -> drm_dp_tunnel_alloc_bw()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 1 bw s32min-2147483646
CAPPED_DATA 0 tunnel 1
CAPPED_DATA 1 bw 1
DATA_SOURCE 1 bw r drm_dp_tunnel_atomic_get_required_bw
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/i915/display/intel_dp_tunnel.c atomic_increase_bw() -> drm_dp_tunnel_alloc_bw()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 1-u64max
CAPPED_DATA 0 tunnel 1
DATA_SOURCE 1 bw r drm_dp_tunnel_atomic_get_required_bw
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock