Searched refs:cmds_size (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/msm/adreno/ |
D | a5xx_power.c | 331 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.1.9/drivers/gpu/drm/i915/gt/uc/ |
D | intel_guc_ct.c | 223 u32 cmds_size; in intel_guc_ct_init() local 248 cmds_size = CTB_H2G_BUFFER_SIZE; in intel_guc_ct_init() 251 ptrdiff(desc, blob), ptrdiff(cmds, blob), cmds_size, in intel_guc_ct_init() 254 guc_ct_buffer_init(&ct->ctbs.send, desc, cmds, cmds_size, resv_space); in intel_guc_ct_init() 259 cmds_size = CTB_G2H_BUFFER_SIZE; in intel_guc_ct_init() 262 ptrdiff(desc, blob), ptrdiff(cmds, blob), cmds_size, in intel_guc_ct_init() 265 guc_ct_buffer_init(&ct->ctbs.recv, desc, cmds, cmds_size, resv_space); in intel_guc_ct_init()
|