Home
last modified time | relevance | path

Searched refs:cmds_size (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/msm/adreno/
Da5xx_power.c331 unsigned int cmds_size; in a5xx_gpmu_ucode_init() local
357 cmds_size = data[0] - data[2] - 2; in a5xx_gpmu_ucode_init()
363 bosize = (cmds_size + (cmds_size / TYPE4_MAX_PAYLOAD) + 1) << 2; in a5xx_gpmu_ucode_init()
373 while (cmds_size > 0) { in a5xx_gpmu_ucode_init()
375 uint32_t _size = cmds_size > TYPE4_MAX_PAYLOAD ? in a5xx_gpmu_ucode_init()
376 TYPE4_MAX_PAYLOAD : cmds_size; in a5xx_gpmu_ucode_init()
385 cmds_size -= _size; in a5xx_gpmu_ucode_init()
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ct.c262 u32 cmds_size; in intel_guc_ct_init() local
287 cmds_size = CTB_H2G_BUFFER_SIZE; in intel_guc_ct_init()
290 ptrdiff(desc, blob), ptrdiff(cmds, blob), cmds_size, in intel_guc_ct_init()
293 guc_ct_buffer_init(&ct->ctbs.send, desc, cmds, cmds_size, resv_space); in intel_guc_ct_init()
298 cmds_size = CTB_G2H_BUFFER_SIZE; in intel_guc_ct_init()
301 ptrdiff(desc, blob), ptrdiff(cmds, blob), cmds_size, in intel_guc_ct_init()
304 guc_ct_buffer_init(&ct->ctbs.recv, desc, cmds, cmds_size, resv_space); in intel_guc_ct_init()