Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/gpu/drm/i915/gt/intel_timeline.c check_watcher() -> switch_tl_lock()

Type Parameter Key Value
PARAM_VALUE 0 from 0
PARAM_VALUE 1 to 0,4096-ptr_max
NOCHECK_CALL
HALF_LOCKED2 rq->context->timeline->mutex
HALF_LOCKED2 tl->hwsp_ggtt->obj->base.resv

drivers/gpu/drm/i915/gt/intel_timeline.c cleanup_watcher() -> switch_tl_lock()

Type Parameter Key Value
PARAM_VALUE 0 from 0
PARAM_VALUE 1 to 4096-u64max
NOCHECK_CALL
HALF_LOCKED2 rq->context->timeline->mutex
HALF_LOCKED2 tl->hwsp_ggtt->obj->base.resv

drivers/gpu/drm/i915/gt/intel_timeline.c create_watcher() -> switch_tl_lock()

Type Parameter Key Value
PARAM_VALUE 0 from 4096-ptr_max
PARAM_VALUE 0 from->batch 0
PARAM_VALUE 0 from->context 4096-ptr_max
PARAM_VALUE 0 from->context->active.cache->timeline 0-s64max
PARAM_VALUE 0 from->context->engine 4096-ptr_max
PARAM_VALUE 0 from->context->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 from->context->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 from->context->parallel.parent->active.cache->timeline 0-s64max
PARAM_VALUE 0 from->context->timeline 4096-ptr_max
PARAM_VALUE 0 from->context->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 from->context->wakeref->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 from->context->wakeref->dead 0-1
PARAM_VALUE 0 from->context->wakeref->free_stack_handle 0-4294967295
PARAM_VALUE 0 from->engine 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.next 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.next->next 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.prev 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.prev->next 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 from->fence.error 0
PARAM_VALUE 0 from->fence.extern_lock 1-u64max
PARAM_VALUE 0 from->fence.flags 1,3,5,7
PARAM_VALUE 0 from->fence.ops 770600201147228160
PARAM_VALUE 0 from->fence.ops->get_driver_name 4096-ptr_max
PARAM_VALUE 0 from->fence.ops->get_timeline_name 4096-ptr_max
PARAM_VALUE 0 from->fence.ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 0 from->fence.ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936
PARAM_VALUE 0 from->fence.seqno 0-u32max
PARAM_VALUE 0 from->guc_prio 255
PARAM_VALUE 0 from->link.next 4096-ptr_max
PARAM_VALUE 0 from->rcustate 0,4-u64max
PARAM_VALUE 0 from->ring 4096-ptr_max
PARAM_VALUE 0 from->sched.attr.priority s32min
PARAM_VALUE 0 from->sched.flags 0
PARAM_VALUE 0 from->sched.semaphores 0
PARAM_VALUE 0 from->timeline 4096-ptr_max
PARAM_VALUE 0 from->watchdog.timer._softexpires 0
PARAM_VALUE 0 from->watchdog.timer.base 4096-ptr_max
PARAM_VALUE 0 from->watchdog.timer.function 1-u64max
PARAM_VALUE 0 from->watchdog.timer.is_hard 0
PARAM_VALUE 0 from->watchdog.timer.is_lazy 0
PARAM_VALUE 0 from->watchdog.timer.is_queued 0
PARAM_VALUE 0 from->watchdog.timer.is_rel 0
PARAM_VALUE 0 from->watchdog.timer.is_soft 0
PARAM_VALUE 0 from->watchdog.timer.node.expires 0
PARAM_VALUE 0 from->watchdog.timer.node.node.next 0
PARAM_VALUE 0 from->watchdog.timer.node.node.prev 0
PARAM_VALUE 1 to 0
CAPPED_DATA 0 from->context 1
CAPPED_DATA 0 from->engine 1
CAPPED_DATA 0 from->ring 1
DATA_SOURCE 0 from r intel_context_create_request
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 from->context->ring_size
HALF_LOCKED2 rq->context->timeline->mutex
HALF_LOCKED2 tl->hwsp_ggtt->obj->base.resv

drivers/gpu/drm/i915/gt/intel_timeline.c live_hwsp_read() -> switch_tl_lock()

Type Parameter Key Value
PARAM_VALUE 0 from 4096-ptr_max
PARAM_VALUE 0 from->batch 0
PARAM_VALUE 0 from->context 4096-ptr_max
PARAM_VALUE 0 from->context->active.cache->timeline 0-s64max
PARAM_VALUE 0 from->context->engine 4096-ptr_max
PARAM_VALUE 0 from->context->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 from->context->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 from->context->parallel.parent->active.cache->timeline 0-s64max
PARAM_VALUE 0 from->context->timeline 4096-ptr_max
PARAM_VALUE 0 from->context->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 from->context->wakeref->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 from->context->wakeref->dead 0-1
PARAM_VALUE 0 from->context->wakeref->free_stack_handle 0-4294967295
PARAM_VALUE 0 from->engine 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.next 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.next->next 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.prev 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.prev->next 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 from->fence.error 0
PARAM_VALUE 0 from->fence.extern_lock 1-u64max
PARAM_VALUE 0 from->fence.flags 1,3,5,7
PARAM_VALUE 0 from->fence.ops 770600201147228160
PARAM_VALUE 0 from->fence.ops->enable_signaling 0,4096-ptr_max
PARAM_VALUE 0 from->fence.ops->get_driver_name 4096-ptr_max
PARAM_VALUE 0 from->fence.ops->get_timeline_name 4096-ptr_max
PARAM_VALUE 0 from->fence.ops->release 0,4096-ptr_max
PARAM_VALUE 0 from->fence.ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 0 from->fence.ops->signaled 0,4096-ptr_max
PARAM_VALUE 0 from->fence.ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936
PARAM_VALUE 0 from->fence.seqno 0-u32max
PARAM_VALUE 0 from->guc_prio 255
PARAM_VALUE 0 from->link.next 4096-ptr_max
PARAM_VALUE 0 from->rcustate 0,4-u64max
PARAM_VALUE 0 from->ring 4096-ptr_max
PARAM_VALUE 0 from->sched.attr.priority s32min
PARAM_VALUE 0 from->sched.flags 0
PARAM_VALUE 0 from->sched.semaphores 0
PARAM_VALUE 0 from->submit.flags 0-4194302
PARAM_VALUE 0 from->timeline 4096-ptr_max
PARAM_VALUE 0 from->watchdog.timer._softexpires 0
PARAM_VALUE 0 from->watchdog.timer.base 4096-ptr_max
PARAM_VALUE 0 from->watchdog.timer.function 1-u64max
PARAM_VALUE 0 from->watchdog.timer.is_hard 0
PARAM_VALUE 0 from->watchdog.timer.is_lazy 0
PARAM_VALUE 0 from->watchdog.timer.is_queued 0
PARAM_VALUE 0 from->watchdog.timer.is_rel 0
PARAM_VALUE 0 from->watchdog.timer.is_soft 0
PARAM_VALUE 0 from->watchdog.timer.node.expires 0
PARAM_VALUE 0 from->watchdog.timer.node.node.next 0
PARAM_VALUE 0 from->watchdog.timer.node.node.prev 0
CAPPED_DATA 0 from->context 1
CAPPED_DATA 0 from->engine 1
CAPPED_DATA 0 from->ring 1
DATA_SOURCE 0 from r i915_request_create
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 from->context->ring_size
NO_OVERFLOW_SIMPLE 0 from->ring->size
HALF_LOCKED2 rq->context->timeline->mutex
HALF_LOCKED2 tl->hwsp_ggtt->obj->base.resv

drivers/gpu/drm/i915/gt/intel_timeline.c live_hwsp_read() -> switch_tl_lock()

Type Parameter Key Value
PARAM_VALUE 1 to 4096-ptr_max
PARAM_VALUE 1 to->batch 0
PARAM_VALUE 1 to->context 4096-ptr_max
PARAM_VALUE 1 to->context->active.cache->timeline 0-s64max
PARAM_VALUE 1 to->context->engine 4096-ptr_max
PARAM_VALUE 1 to->context->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 to->context->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 to->context->parallel.parent->active.cache->timeline 0-s64max
PARAM_VALUE 1 to->context->timeline 4096-ptr_max
PARAM_VALUE 1 to->context->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 to->context->wakeref->alloc_stack_handle 0-4294967295
PARAM_VALUE 1 to->context->wakeref->dead 0-1
PARAM_VALUE 1 to->context->wakeref->free_stack_handle 0-4294967295
PARAM_VALUE 1 to->engine 4096-ptr_max
PARAM_VALUE 1 to->fence.cb_list.next 4096-ptr_max
PARAM_VALUE 1 to->fence.cb_list.next->next 4096-ptr_max
PARAM_VALUE 1 to->fence.cb_list.prev 4096-ptr_max
PARAM_VALUE 1 to->fence.cb_list.prev->next 4096-ptr_max
PARAM_VALUE 1 to->fence.cb_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 to->fence.error 0
PARAM_VALUE 1 to->fence.extern_lock 1-u64max
PARAM_VALUE 1 to->fence.flags 1,3,5,7
PARAM_VALUE 1 to->fence.ops 770600201147228160
PARAM_VALUE 1 to->fence.ops->enable_signaling 0,4096-ptr_max
PARAM_VALUE 1 to->fence.ops->get_driver_name 4096-ptr_max
PARAM_VALUE 1 to->fence.ops->get_timeline_name 4096-ptr_max
PARAM_VALUE 1 to->fence.ops->release 0,4096-ptr_max
PARAM_VALUE 1 to->fence.ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 1 to->fence.ops->signaled 0,4096-ptr_max
PARAM_VALUE 1 to->fence.ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936
PARAM_VALUE 1 to->fence.seqno 0-u32max
PARAM_VALUE 1 to->guc_prio 255
PARAM_VALUE 1 to->link.next 4096-ptr_max
PARAM_VALUE 1 to->rcustate 0,4-u64max
PARAM_VALUE 1 to->ring 4096-ptr_max
PARAM_VALUE 1 to->sched.attr.priority s32min
PARAM_VALUE 1 to->sched.flags 0
PARAM_VALUE 1 to->sched.semaphores 0
PARAM_VALUE 1 to->submit.flags 0-4194302
PARAM_VALUE 1 to->timeline 4096-ptr_max
PARAM_VALUE 1 to->watchdog.timer._softexpires 0
PARAM_VALUE 1 to->watchdog.timer.base 4096-ptr_max
PARAM_VALUE 1 to->watchdog.timer.function 1-u64max
PARAM_VALUE 1 to->watchdog.timer.is_hard 0
PARAM_VALUE 1 to->watchdog.timer.is_lazy 0
PARAM_VALUE 1 to->watchdog.timer.is_queued 0
PARAM_VALUE 1 to->watchdog.timer.is_rel 0
PARAM_VALUE 1 to->watchdog.timer.is_soft 0
PARAM_VALUE 1 to->watchdog.timer.node.expires 0
PARAM_VALUE 1 to->watchdog.timer.node.node.next 0
PARAM_VALUE 1 to->watchdog.timer.node.node.prev 0
CAPPED_DATA 1 to->context 1
CAPPED_DATA 1 to->engine 1
CAPPED_DATA 1 to->ring 1
CAPPED_DATA 1 to->timeline 1
DATA_SOURCE 1 to r i915_request_create
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 to->context->ring_size
NO_OVERFLOW_SIMPLE 1 to->ring->size
HALF_LOCKED2 rq->context->timeline->mutex
HALF_LOCKED2 tl->hwsp_ggtt->obj->base.resv

drivers/gpu/drm/i915/gt/intel_timeline.c live_hwsp_read() -> switch_tl_lock()

Type Parameter Key Value
PARAM_VALUE 0 from 4096-ptr_max
PARAM_VALUE 0 from->batch 0
PARAM_VALUE 0 from->context 4096-ptr_max
PARAM_VALUE 0 from->context->active.cache->timeline 0-s64max
PARAM_VALUE 0 from->context->engine 4096-ptr_max
PARAM_VALUE 0 from->context->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 from->context->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 from->context->parallel.parent->active.cache->timeline 0-s64max
PARAM_VALUE 0 from->context->timeline 4096-ptr_max
PARAM_VALUE 0 from->context->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 from->context->wakeref->alloc_stack_handle 0-4294967295
PARAM_VALUE 0 from->context->wakeref->dead 0-1
PARAM_VALUE 0 from->context->wakeref->free_stack_handle 0-4294967295
PARAM_VALUE 0 from->engine 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.next 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.next->next 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.prev 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.prev->next 4096-ptr_max
PARAM_VALUE 0 from->fence.cb_list.prev->prev 4096-ptr_max
PARAM_VALUE 0 from->fence.error 0
PARAM_VALUE 0 from->fence.extern_lock 1-u64max
PARAM_VALUE 0 from->fence.flags 1,3,5,7
PARAM_VALUE 0 from->fence.ops 770600201147228160
PARAM_VALUE 0 from->fence.ops->enable_signaling 0,4096-ptr_max
PARAM_VALUE 0 from->fence.ops->get_driver_name 4096-ptr_max
PARAM_VALUE 0 from->fence.ops->get_timeline_name 4096-ptr_max
PARAM_VALUE 0 from->fence.ops->release 0,4096-ptr_max
PARAM_VALUE 0 from->fence.ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 0 from->fence.ops->signaled 0,4096-ptr_max
PARAM_VALUE 0 from->fence.ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936
PARAM_VALUE 0 from->fence.seqno 0-u32max
PARAM_VALUE 0 from->guc_prio 255
PARAM_VALUE 0 from->link.next 4096-ptr_max
PARAM_VALUE 0 from->rcustate 0,4-u64max
PARAM_VALUE 0 from->ring 4096-ptr_max
PARAM_VALUE 0 from->sched.attr.priority s32min
PARAM_VALUE 0 from->sched.flags 0
PARAM_VALUE 0 from->sched.semaphores 0
PARAM_VALUE 0 from->submit.flags 0-4194302
PARAM_VALUE 0 from->timeline 4096-ptr_max
PARAM_VALUE 0 from->timeline->active.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 0 from->timeline->has_initial_breadcrumb 1
PARAM_VALUE 0 from->watchdog.timer._softexpires 0
PARAM_VALUE 0 from->watchdog.timer.base 4096-ptr_max
PARAM_VALUE 0 from->watchdog.timer.function 1-u64max
PARAM_VALUE 0 from->watchdog.timer.is_hard 0
PARAM_VALUE 0 from->watchdog.timer.is_lazy 0
PARAM_VALUE 0 from->watchdog.timer.is_queued 0
PARAM_VALUE 0 from->watchdog.timer.is_rel 0
PARAM_VALUE 0 from->watchdog.timer.is_soft 0
PARAM_VALUE 0 from->watchdog.timer.node.expires 0
PARAM_VALUE 0 from->watchdog.timer.node.node.next 0
PARAM_VALUE 0 from->watchdog.timer.node.node.prev 0
CAPPED_DATA 0 from->context 1
CAPPED_DATA 0 from->engine 1
CAPPED_DATA 0 from->ring 1
CAPPED_DATA 0 from->timeline 1
DATA_SOURCE 0 from r i915_request_create
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 from->context->ring_size
NO_OVERFLOW_SIMPLE 0 from->ring->size
LOCK2 0 from->context->timeline->mutex
HALF_LOCKED2 rq->context->timeline->mutex
HALF_LOCKED2 tl->hwsp_ggtt->obj->base.resv

drivers/gpu/drm/i915/gt/intel_timeline.c live_hwsp_read() -> switch_tl_lock()

Type Parameter Key Value
PARAM_VALUE 1 to 4096-ptr_max
PARAM_VALUE 1 to->batch 0
PARAM_VALUE 1 to->context 4096-ptr_max
PARAM_VALUE 1 to->context->active.cache->timeline 0-s64max
PARAM_VALUE 1 to->context->engine 4096-ptr_max
PARAM_VALUE 1 to->context->engine->gt->i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 to->context->engine->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 to->context->parallel.parent->active.cache->timeline 0-s64max
PARAM_VALUE 1 to->context->timeline 4096-ptr_max
PARAM_VALUE 1 to->context->vm->gt->wakeref.i915->runtime_pm.kdev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 to->context->wakeref->alloc_stack_handle 0-4294967295
PARAM_VALUE 1 to->context->wakeref->dead 0-1
PARAM_VALUE 1 to->context->wakeref->free_stack_handle 0-4294967295
PARAM_VALUE 1 to->engine 4096-ptr_max
PARAM_VALUE 1 to->fence.cb_list.next 4096-ptr_max
PARAM_VALUE 1 to->fence.cb_list.next->next 4096-ptr_max
PARAM_VALUE 1 to->fence.cb_list.prev 4096-ptr_max
PARAM_VALUE 1 to->fence.cb_list.prev->next 4096-ptr_max
PARAM_VALUE 1 to->fence.cb_list.prev->prev 4096-ptr_max
PARAM_VALUE 1 to->fence.error 0
PARAM_VALUE 1 to->fence.extern_lock 1-u64max
PARAM_VALUE 1 to->fence.flags 1,3,5,7
PARAM_VALUE 1 to->fence.ops 770600201147228160
PARAM_VALUE 1 to->fence.ops->enable_signaling 0,4096-ptr_max
PARAM_VALUE 1 to->fence.ops->get_driver_name 4096-ptr_max
PARAM_VALUE 1 to->fence.ops->get_timeline_name 4096-ptr_max
PARAM_VALUE 1 to->fence.ops->release 0,4096-ptr_max
PARAM_VALUE 1 to->fence.ops->set_deadline 0,2004285741546172416,2071105144755478528,2853440610722889728,3558081686514302976,5221404334427111424
PARAM_VALUE 1 to->fence.ops->signaled 0,4096-ptr_max
PARAM_VALUE 1 to->fence.ops->wait 0,3162960082638938112,3576649960670945280,4783308308267675648,5257098353859239936
PARAM_VALUE 1 to->fence.seqno 0-u32max
PARAM_VALUE 1 to->guc_prio 255
PARAM_VALUE 1 to->link.next 4096-ptr_max
PARAM_VALUE 1 to->rcustate 0,4-u64max
PARAM_VALUE 1 to->ring 4096-ptr_max
PARAM_VALUE 1 to->sched.attr.priority s32min
PARAM_VALUE 1 to->sched.flags 0
PARAM_VALUE 1 to->sched.semaphores 0
PARAM_VALUE 1 to->submit.flags 0-4194302
PARAM_VALUE 1 to->timeline 4096-ptr_max
PARAM_VALUE 1 to->timeline->active.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 1 to->timeline->has_initial_breadcrumb 1
PARAM_VALUE 1 to->watchdog.timer._softexpires 0
PARAM_VALUE 1 to->watchdog.timer.base 4096-ptr_max
PARAM_VALUE 1 to->watchdog.timer.function 1-u64max
PARAM_VALUE 1 to->watchdog.timer.is_hard 0
PARAM_VALUE 1 to->watchdog.timer.is_lazy 0
PARAM_VALUE 1 to->watchdog.timer.is_queued 0
PARAM_VALUE 1 to->watchdog.timer.is_rel 0
PARAM_VALUE 1 to->watchdog.timer.is_soft 0
PARAM_VALUE 1 to->watchdog.timer.node.expires 0
PARAM_VALUE 1 to->watchdog.timer.node.node.next 0
PARAM_VALUE 1 to->watchdog.timer.node.node.prev 0
CAPPED_DATA 1 to->context 1
CAPPED_DATA 1 to->engine 1
CAPPED_DATA 1 to->ring 1
CAPPED_DATA 1 to->timeline 1
DATA_SOURCE 1 to r i915_request_create
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 1 to->context->ring_size
NO_OVERFLOW_SIMPLE 1 to->ring->size
HALF_LOCKED2 rq->context->timeline->mutex
HALF_LOCKED2 tl->hwsp_ggtt->obj->base.resv