Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_lrc.c empty_lrc_data() -> set_offsets()

Type Parameter Key Value
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 2 engine 4096-ptr_max
PARAM_VALUE 2 engine->domain 1-2,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768
PARAM_VALUE 2 engine->engine_id 0-26
PARAM_VALUE 2 engine->gt 4096-ptr_max
PARAM_VALUE 2 engine->gt->default_lrc 4096-ptr_max
PARAM_VALUE 2 engine->gt->tile 4096-ptr_max
PARAM_VALUE 2 engine->gt->wa_active.oob 4096-ptr_max
PARAM_VALUE 2 engine->instance 0-8
PARAM_VALUE 2 engine->irq_handler 0,1079320861127557120,5448746199315255296
PARAM_VALUE 2 engine->irq_offset 0-255
PARAM_VALUE 2 engine->irq_page 0-8
PARAM_VALUE 2 engine->mmio_base 8192,106496,114688,122880,139264,155648,1155072,1835008,1851392,1867776,1900544,1916928,1933312,1966080,1982464,1998848,2031616,2048000,2064384,4063232,4071424,4079616,4087808,4096000,4104192,4112384,4120576
BUF_SIZE 1 data 38-40,45,47-49,141
DATA_SOURCE 2 engine $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c empty_lrc_data() -> set_offsets()

Type Parameter Key Value
PARAM_VALUE 1 data 4597762567361695744
PARAM_VALUE 2 engine 4096-ptr_max
PARAM_VALUE 2 engine->domain 1-2,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768
PARAM_VALUE 2 engine->engine_id 0-26
PARAM_VALUE 2 engine->gt 4096-ptr_max
PARAM_VALUE 2 engine->gt->default_lrc 4096-ptr_max
PARAM_VALUE 2 engine->gt->info.has_indirect_ring_state 1
PARAM_VALUE 2 engine->gt->tile 4096-ptr_max
PARAM_VALUE 2 engine->gt->wa_active.oob 4096-ptr_max
PARAM_VALUE 2 engine->instance 0-8
PARAM_VALUE 2 engine->irq_handler 0,1079320861127557120,5448746199315255296
PARAM_VALUE 2 engine->irq_offset 0-255
PARAM_VALUE 2 engine->irq_page 0-8
PARAM_VALUE 2 engine->mmio_base 8192,106496,114688,122880,139264,155648,1155072,1835008,1851392
BUF_SIZE 1 data 26
DATA_SOURCE 2 engine $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/i915/gt/intel_lrc.c __lrc_init_regs() -> set_offsets()

Type Parameter Key Value
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 2 engine 4096-ptr_max
PARAM_VALUE 2 engine->i915 4096-ptr_max
BUF_SIZE 1 data 38,40-41,44,49,121-122,141
DATA_SOURCE 0 regs $0
DATA_SOURCE 2 engine $2
DATA_SOURCE 3 close $3
STR_LEN 0 regs (-1),3,6-7,11,14,17
STR_LEN 0 regs (-1),3,6-7,11,14,17
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 engine->execlists.reset_ccid 0-u32max
HOST_DATA 2 engine->gt->i915->uncore.fifo_count 0-127,u32max
HOST_DATA 2 engine->gt->uc.guc.mmio_msg 0
HOST_DATA 2 engine->gt->uncore->fifo_count 0-127,u32max
HOST_DATA 2 engine->uncore->fifo_count 0-127,u32max
HALF_LOCKED2 ce->ring->vma->obj->base.resv
HALF_LOCKED2 ce->timeline->hwsp_ggtt->obj->base.resv

drivers/gpu/drm/i915/gt/intel_lrc.c lrc_update_offsets() -> set_offsets()

Type Parameter Key Value
PARAM_VALUE 1 data 4096-ptr_max
PARAM_VALUE 2 engine 4096-ptr_max
PARAM_VALUE 2 engine->i915 4096-ptr_max
PARAM_VALUE 3 close 0
BUF_SIZE 1 data 38,40-41,44,49,121-122,141
BUF_SIZE 2 engine 3608,6504
BUF_SIZE 2 engine 3608,6504
CAPPED_DATA 2 engine 1
DATA_SOURCE 2 engine $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 engine->execlists.reset_ccid 0-u32max
HOST_DATA 2 engine->gt->uncore->fifo_count 0-127,u32max
HOST_DATA 2 engine->uncore->fifo_count 0-127,u32max
LOCK2 &sched_engine->lock
LOCK2 &ve->base.sched_engine->lock
LOCK2 irq
LOCK2 rcu_read
HALF_LOCKED2 bh
TYPE_LOCK (struct i915_sched_engine)->lock