Lines Matching refs:dumper
1445 struct a5xx_crashdumper *dumper) in a5xx_crashdumper_init() argument
1447 dumper->ptr = msm_gem_kernel_new(gpu->dev, in a5xx_crashdumper_init()
1449 &dumper->bo, &dumper->iova); in a5xx_crashdumper_init()
1451 if (!IS_ERR(dumper->ptr)) in a5xx_crashdumper_init()
1452 msm_gem_object_set_name(dumper->bo, "crashdump"); in a5xx_crashdumper_init()
1454 return PTR_ERR_OR_ZERO(dumper->ptr); in a5xx_crashdumper_init()
1458 struct a5xx_crashdumper *dumper) in a5xx_crashdumper_run() argument
1462 if (IS_ERR_OR_NULL(dumper->ptr)) in a5xx_crashdumper_run()
1465 gpu_write64(gpu, REG_A5XX_CP_CRASH_SCRIPT_BASE_LO, dumper->iova); in a5xx_crashdumper_run()
1503 struct a5xx_crashdumper dumper = { 0 }; in a5xx_gpu_state_get_hlsq_regs() local
1508 if (a5xx_crashdumper_init(gpu, &dumper)) in a5xx_gpu_state_get_hlsq_regs()
1512 ptr = dumper.ptr; in a5xx_gpu_state_get_hlsq_regs()
1515 offset = dumper.iova + (256 * SZ_1K); in a5xx_gpu_state_get_hlsq_regs()
1546 if (a5xx_crashdumper_run(gpu, &dumper)) { in a5xx_gpu_state_get_hlsq_regs()
1548 msm_gem_kernel_put(dumper.bo, gpu->aspace); in a5xx_gpu_state_get_hlsq_regs()
1553 memcpy(a5xx_state->hlsqregs, dumper.ptr + (256 * SZ_1K), in a5xx_gpu_state_get_hlsq_regs()
1556 msm_gem_kernel_put(dumper.bo, gpu->aspace); in a5xx_gpu_state_get_hlsq_regs()