Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_guc_submit.c __register_exec_queue() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 12
PARAM_VALUE 3 g2h_len 0
PARAM_VALUE 4 num_g2h 0
BUF_SIZE 1 action 48
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 len unit_array_size

drivers/gpu/drm/xe/xe_guc_submit.c __register_mlrc_exec_queue() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 15-s32max
PARAM_VALUE 3 g2h_len 0
PARAM_VALUE 4 num_g2h 0
BUF_SIZE 1 action 124
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_guc_submit.c disable_scheduling() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 3
PARAM_VALUE 3 g2h_len 4
PARAM_VALUE 4 num_g2h 1
BUF_SIZE 1 action 12
NOCHECK_CALL
UNITS 2 len unit_array_size
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_guc_submit.c disable_scheduling_deregister() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 3
PARAM_VALUE 3 g2h_len 7
PARAM_VALUE 4 num_g2h 2
BUF_SIZE 1 action 12
NOCHECK_CALL
UNITS 2 len unit_array_size
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_guc_submit.c enable_scheduling() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 3
PARAM_VALUE 3 g2h_len 4
PARAM_VALUE 4 num_g2h 1
BUF_SIZE 1 action 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 len unit_array_size

drivers/gpu/drm/xe/xe_guc_submit.c init_policies() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 5131981820594348036
PARAM_VALUE 2 len 10
PARAM_VALUE 3 g2h_len 0
PARAM_VALUE 4 num_g2h 0
BUF_SIZE 1 action 48
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_guc_submit.c set_min_preemption_timeout() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 3785221724335607812
PARAM_VALUE 2 len 4
PARAM_VALUE 3 g2h_len 0
PARAM_VALUE 4 num_g2h 0
BUF_SIZE 1 action 48
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_guc_submit.c submit_exec_queue() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 2-3
PARAM_VALUE 3 g2h_len 0,4
PARAM_VALUE 4 num_g2h 0-1
BUF_SIZE 1 action 12
FUZZY_MAX 3 g2h_len 4
FUZZY_MAX 4 num_g2h 1
BIT_INFO 3 g2h_len 0x0,0x4
HARD_MAX 3 g2h_len 4
HARD_MAX 4 num_g2h 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sched->job_list_lock

drivers/gpu/drm/xe/xe_guc_submit.c submit_exec_queue() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 0 ct->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 2
PARAM_VALUE 3 g2h_len 0
PARAM_VALUE 4 num_g2h 0
BUF_SIZE 1 action 12
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &adev->reset_domain->sem
HALF_LOCKED2 &attr->mutex
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sched->job_list_lock

drivers/gpu/drm/xe/xe_guc_submit.c xe_guc_exec_queue_group_cgp_sync() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 2,8
PARAM_VALUE 3 g2h_len 3
PARAM_VALUE 4 num_g2h 1
BUF_SIZE 1 action 8,32
BUF_SIZE 1 action 8,32
DATA_SOURCE 1 action $2
DATA_SOURCE 2 len $3
HARD_MAX 2 len 8
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_guc_ads.c guc_ads_action_update_policies() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 2
PARAM_VALUE 3 g2h_len 0
PARAM_VALUE 4 num_g2h 0
BUF_SIZE 0 ct 2952
BUF_SIZE 1 action 8
UNITS 2 len unit_array_size

drivers/gpu/drm/xe/xe_guc_rc.c guc_action_setup_gucrc() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 2
PARAM_VALUE 3 g2h_len 0
PARAM_VALUE 4 num_g2h 0
BUF_SIZE 1 action 8
RX_PATH
TASK_NOT_RUNNING
UNITS 2 len unit_array_size

drivers/gpu/drm/xe/xe_guc_pc.c pc_action_reset() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 4
PARAM_VALUE 3 g2h_len 0
PARAM_VALUE 4 num_g2h 0
BUF_SIZE 0 ct 2952
BUF_SIZE 1 action 16
DATA_SOURCE 0 ct r pc_to_ct
RX_PATH
TASK_NOT_RUNNING
UNITS 2 len unit_array_size

drivers/gpu/drm/xe/xe_guc_pc.c pc_action_set_param() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 4
PARAM_VALUE 3 g2h_len 0
PARAM_VALUE 4 num_g2h 0
BUF_SIZE 0 ct 2952
BUF_SIZE 1 action 16
DATA_SOURCE 0 ct r pc_to_ct
RX_PATH
TASK_NOT_RUNNING
UNITS 2 len unit_array_size
HALF_LOCKED2 _T->lock

drivers/gpu/drm/xe/xe_guc_pc.c pc_action_unset_param() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 3
PARAM_VALUE 3 g2h_len 0
PARAM_VALUE 4 num_g2h 0
BUF_SIZE 0 ct 2952
BUF_SIZE 1 action 12
UNITS 2 len unit_array_size

drivers/gpu/drm/xe/xe_guc.c g2g_test_send() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 9
PARAM_VALUE 3 g2h_len 0
PARAM_VALUE 4 num_g2h 0
BUF_SIZE 1 action 36
BUF_SIZE 1 action 36
DATA_SOURCE 1 action r kunit_kmalloc_array
PARAM_COMPARE 1 action < $2
UNITS 2 len unit_array_size
ELEM_COUNT 1 ==action2 8051

drivers/gpu/drm/xe/xe_guc_tlb_inval.c send_page_reclaim() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 0 ct->lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 4
PARAM_VALUE 3 g2h_len 3
PARAM_VALUE 4 num_g2h 1
BUF_SIZE 1 action 16
RX_PATH
TASK_NOT_RUNNING
UNITS 2 len unit_array_size
LOCK2 &tlb_inval->seqno_lock
HALF_LOCKED2 &vm->exec_queues.lock
HALF_LOCKED2 &vm->lock
HALF_LOCKED2 global &drm_unplug_srcu
TYPE_LOCK (struct xe_tlb_inval)->seqno_lock

drivers/gpu/drm/xe/xe_guc_tlb_inval.c send_tlb_inval() -> xe_guc_ct_send()

Type Parameter Key Value
PARAM_VALUE 0 ct 4096-ptr_max
PARAM_VALUE 1 action 4096-ptr_max
PARAM_VALUE 2 len 3,7
PARAM_VALUE 3 g2h_len 3
PARAM_VALUE 4 num_g2h 1
BUF_SIZE 1 action 12,28
BUF_SIZE 1 action 12,28
DATA_SOURCE 1 action $1
DATA_SOURCE 2 len $2
RX_PATH
TASK_NOT_RUNNING
UNITS 2 len unit_array_size
LOCK2 &tlb_inval->seqno_lock
HALF_LOCKED2 &vm->exec_queues.lock
TYPE_LOCK (struct xe_tlb_inval)->seqno_lock