Home
last modified time | relevance | path

Searched refs:HQD_N_REGS (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd_arcturus.c55 #define HQD_N_REGS 56 macro
57 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \
200 #undef HQD_N_REGS in kgd_arcturus_hqd_sdma_dump()
201 #define HQD_N_REGS (19+6+7+10) in kgd_arcturus_hqd_sdma_dump() macro
203 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_arcturus_hqd_sdma_dump()
218 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_arcturus_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v7.c209 #define HQD_N_REGS (35+4) in kgd_hqd_dump() macro
211 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \ in kgd_hqd_dump()
217 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_dump()
233 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_dump()
301 #undef HQD_N_REGS in kgd_hqd_sdma_dump()
302 #define HQD_N_REGS (19+4) in kgd_hqd_sdma_dump() macro
304 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_sdma_dump()
314 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v8.c233 #define HQD_N_REGS (54+4) in kgd_hqd_dump() macro
235 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \ in kgd_hqd_dump()
241 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_dump()
257 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_dump()
324 #undef HQD_N_REGS in kgd_hqd_sdma_dump()
325 #define HQD_N_REGS (19+4+2+3+7) in kgd_hqd_sdma_dump() macro
327 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_sdma_dump()
346 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v10_3.c333 #define HQD_N_REGS 56 in hqd_dump_v10_3() macro
335 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \ in hqd_dump_v10_3()
341 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in hqd_dump_v10_3()
353 WARN_ON_ONCE(i != HQD_N_REGS); in hqd_dump_v10_3()
435 #undef HQD_N_REGS in hqd_sdma_dump_v10_3()
436 #define HQD_N_REGS (19+6+7+12) in hqd_sdma_dump_v10_3() macro
438 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in hqd_sdma_dump_v10_3()
453 WARN_ON_ONCE(i != HQD_N_REGS); in hqd_sdma_dump_v10_3()
Damdgpu_amdkfd_gfx_v11.c318 #define HQD_N_REGS 56 in hqd_dump_v11() macro
320 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \ in hqd_dump_v11()
326 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in hqd_dump_v11()
338 WARN_ON_ONCE(i != HQD_N_REGS); in hqd_dump_v11()
420 #undef HQD_N_REGS in hqd_sdma_dump_v11()
421 #define HQD_N_REGS (7+11+1+12+12) in hqd_sdma_dump_v11() macro
423 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in hqd_sdma_dump_v11()
443 WARN_ON_ONCE(i != HQD_N_REGS); in hqd_sdma_dump_v11()
Damdgpu_amdkfd_gc_9_4_3.c135 #undef HQD_N_REGS in kgd_gfx_v9_4_3_hqd_sdma_dump()
136 #define HQD_N_REGS (19+6+7+12) in kgd_gfx_v9_4_3_hqd_sdma_dump() macro
138 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \ in kgd_gfx_v9_4_3_hqd_sdma_dump()
144 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_gfx_v9_4_3_hqd_sdma_dump()
159 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_gfx_v9_4_3_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v10.c347 #define HQD_N_REGS 56 in kgd_hqd_dump() macro
349 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \ in kgd_hqd_dump()
355 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_dump()
367 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_dump()
449 #undef HQD_N_REGS in kgd_hqd_sdma_dump()
450 #define HQD_N_REGS (19+6+7+10) in kgd_hqd_sdma_dump() macro
452 *dump = kmalloc(HQD_N_REGS*2*sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_sdma_dump()
467 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_sdma_dump()
Damdgpu_amdkfd_gfx_v9.c360 #define HQD_N_REGS 56 in kgd_gfx_v9_hqd_dump() macro
362 if (WARN_ON_ONCE(i >= HQD_N_REGS)) \ in kgd_gfx_v9_hqd_dump()
368 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_gfx_v9_hqd_dump()
380 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_gfx_v9_hqd_dump()
462 #undef HQD_N_REGS in kgd_hqd_sdma_dump()
463 #define HQD_N_REGS (19+6+7+10) in kgd_hqd_sdma_dump() macro
465 *dump = kmalloc_array(HQD_N_REGS * 2, sizeof(uint32_t), GFP_KERNEL); in kgd_hqd_sdma_dump()
480 WARN_ON_ONCE(i != HQD_N_REGS); in kgd_hqd_sdma_dump()