Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_oa.c __xe_oa_alloc_config_buffer() -> write_cs_mi_lri()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->bo 4096-ptr_max
PARAM_VALUE 0 cs->cs 4096-ptr_max
PARAM_VALUE 0 cs->len 0
BUF_SIZE 0 cs 24
DATA_SOURCE 0 cs r xe_bb_new
NOCHECK_CALL
HALF_LOCKED2 &param.hwe->gt->oa.gt_lock
HALF_LOCKED2 &stream->stream_lock

drivers/gpu/drm/xe/xe_oa.c xe_oa_load_with_lri() -> write_cs_mi_lri()

Type Parameter Key Value
PARAM_VALUE 0 cs 4096-ptr_max
PARAM_VALUE 0 cs->bo 4096-ptr_max
PARAM_VALUE 0 cs->cs 4096-ptr_max
PARAM_VALUE 0 cs->len 0
PARAM_VALUE 1 reg_data 4096-ptr_max
PARAM_VALUE 2 n_regs 3
BUF_SIZE 0 cs 24
BUF_SIZE 1 reg_data 24
BUF_SIZE 1 reg_data 24
DATA_SOURCE 0 cs r xe_bb_new
DATA_SOURCE 1 reg_data $1
DATA_SOURCE 2 n_regs $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 n_regs unit_array_size
HALF_LOCKED2 &param.hwe->gt->oa.gt_lock
TYPE_LOCK (struct xe_oa_gt)->gt_lock

drivers/gpu/drm/i915/i915_perf.c alloc_oa_config_buffer() -> write_cs_mi_lri()

Type Parameter Key Value
PARAM_VALUE 0 cs 1-ptr_max
DATA_SOURCE 0 cs r i915_gem_object_pin_map
LOCK2 obj->base.resv
HALF_LOCKED2 &gt->perf.lock
HALF_LOCKED2 &stream->lock

drivers/gpu/drm/i915/i915_perf.c alloc_oa_config_buffer() -> write_cs_mi_lri()

Type Parameter Key Value
PARAM_VALUE 0 cs 1-u64max
DATA_SOURCE 0 cs r write_cs_mi_lri
LOCK2 obj->base.resv
HALF_LOCKED2 &gt->perf.lock
HALF_LOCKED2 &stream->lock

drivers/gpu/drm/i915/i915_perf.c alloc_oa_config_buffer() -> write_cs_mi_lri()

Type Parameter Key Value
PARAM_VALUE 0 cs 1-u64max
DATA_SOURCE 0 cs r write_cs_mi_lri
LOCK2 obj->base.resv
HALF_LOCKED2 &gt->perf.lock
HALF_LOCKED2 &stream->lock