Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/gpu/drm/xe/xe_lrc.c setup_indirect_ctx() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 1-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 21
BUF_SIZE 0 lrc->bo (-1)-0,1336
BUF_SIZE 0 lrc->seqno_bo (-1)-0,1336
DATA_SOURCE 0 lrc $0
BIT_INFO 0 lrc->desc 0x1,0xffffffffffffffff
BIT_INFO 0 lrc->flags 0x1,0x3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 87
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 89
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 91
PARAM_VALUE 2 val 65537
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 39
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 9
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 5
PARAM_VALUE 2 val 0
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 val unit_byte

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 7
PARAM_VALUE 2 val 0
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 val unit_byte

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 11
PARAM_VALUE 2 val 12289
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 3
PARAM_VALUE 2 val 0,128-u32max
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
BIT_INFO 2 val 0x800080,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0,128-u32max

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 3
PARAM_VALUE 2 val 0,1024-u32max
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
BIT_INFO 2 val 0x4000400,0xffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0,1024-u32max

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 35
PARAM_VALUE 2 val 0
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 37
PARAM_VALUE 2 val 0
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 209
PARAM_VALUE 2 val 0
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 211
PARAM_VALUE 2 val 0
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_ctx_init() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 47
BUF_SIZE 0 lrc 144
BUF_SIZE 0 lrc->bo (-1),1344
BUF_SIZE 0 lrc->seqno_bo (-1),1344
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_set_ppgtt() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 49
BUF_SIZE 0 lrc->bo (-1)-0,1336
BUF_SIZE 0 lrc->seqno_bo (-1)-0,1336
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_set_ppgtt() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 0 lrc->flags 0-3
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 51
BUF_SIZE 0 lrc->bo (-1)-0,1336
BUF_SIZE 0 lrc->seqno_bo (-1)-0,1336
DATA_SOURCE 0 lrc $0
FUZZY_MAX 0 lrc->flags 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_set_ring_head() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 1 reg_nr 5
PARAM_VALUE 2 val 0
DATA_SOURCE 0 lrc $0
DATA_SOURCE 2 val $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_set_ring_tail() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 1 reg_nr 7
DATA_SOURCE 0 lrc $0
DATA_SOURCE 2 val $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 2 val 0,4-2097148
HALF_LOCKED2 &guc->submission_state.lock

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_setup_wa_bb_with_scratch() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->fence_ctx.gt 4096-ptr_max
PARAM_VALUE 1 reg_nr 19
BUF_SIZE 0 lrc->bo (-1)-0,1336
BUF_SIZE 0 lrc->seqno_bo (-1)-0,1336
DATA_SOURCE 0 lrc $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &guc->submission_state.lock
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_update_hwctx_regs_with_address() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->flags 2-u32max
PARAM_VALUE 1 reg_nr 39
DATA_SOURCE 0 lrc $0
NOCHECK_CALL
LOCK2 &guc->submission_state.lock
LOCK2 &pool->lock
TYPE_LOCK (struct xe_guc)->submission_state.lock

drivers/gpu/drm/xe/xe_lrc.c xe_lrc_update_hwctx_regs_with_address() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 1 reg_nr 9
DATA_SOURCE 0 lrc $0
NOCHECK_CALL
LOCK2 &guc->submission_state.lock
LOCK2 &pool->lock
TYPE_LOCK (struct xe_guc)->submission_state.lock

drivers/gpu/drm/xe/xe_execlist.c __start_lrc() -> xe_lrc_write_ctx_reg()

Type Parameter Key Value
PARAM_VALUE 0 lrc 4096-ptr_max
PARAM_VALUE 0 lrc->bo 4096-ptr_max
PARAM_VALUE 0 lrc->ring.size 16384
PARAM_VALUE 1 reg_nr 7
DATA_SOURCE 0 lrc $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 2 val unit_byte
HALF_LOCKED2 &port->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct xe_execlist_port)->lock