Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_guc_ct.c119 #define CTB_H2G_BUFFER_SIZE (SZ_4K) macro
136 BUILD_BUG_ON(!IS_ALIGNED(CTB_H2G_BUFFER_SIZE, SZ_4)); in xe_guc_ct_queue_proc_time_jiffies()
137 return (CTB_H2G_BUFFER_SIZE / SZ_4K) * HZ; in xe_guc_ct_queue_proc_time_jiffies()
142 return 2 * CTB_DESC_SIZE + CTB_H2G_BUFFER_SIZE + in guc_ct_size()
224 h2g->info.size = CTB_H2G_BUFFER_SIZE / sizeof(u32); in guc_ct_ctb_h2g_init()
255 CTB_H2G_BUFFER_SIZE); in guc_ct_ctb_g2h_init()
293 CTB_H2G_BUFFER_SIZE; in guc_ct_ctb_g2h_register()
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ct.c84 #define CTB_H2G_BUFFER_SIZE (SZ_4K) macro
85 #define CTB_G2H_BUFFER_SIZE (4 * CTB_H2G_BUFFER_SIZE)
130 return (CTB_H2G_BUFFER_SIZE * HZ) / SZ_2K; in intel_guc_ct_max_queue_time_jiffies()
274 blob_size = 2 * CTB_DESC_SIZE + CTB_H2G_BUFFER_SIZE + CTB_G2H_BUFFER_SIZE; in intel_guc_ct_init()
287 cmds_size = CTB_H2G_BUFFER_SIZE; in intel_guc_ct_init()
297 cmds = blob + 2 * CTB_DESC_SIZE + CTB_H2G_BUFFER_SIZE; in intel_guc_ct_init()