Lines Matching refs:dumper
1435 struct a5xx_crashdumper *dumper) in a5xx_crashdumper_init() argument
1437 dumper->ptr = msm_gem_kernel_new(gpu->dev, in a5xx_crashdumper_init()
1439 &dumper->bo, &dumper->iova); in a5xx_crashdumper_init()
1441 if (!IS_ERR(dumper->ptr)) in a5xx_crashdumper_init()
1442 msm_gem_object_set_name(dumper->bo, "crashdump"); in a5xx_crashdumper_init()
1444 return PTR_ERR_OR_ZERO(dumper->ptr); in a5xx_crashdumper_init()
1448 struct a5xx_crashdumper *dumper) in a5xx_crashdumper_run() argument
1452 if (IS_ERR_OR_NULL(dumper->ptr)) in a5xx_crashdumper_run()
1456 REG_A5XX_CP_CRASH_SCRIPT_BASE_HI, dumper->iova); in a5xx_crashdumper_run()
1494 struct a5xx_crashdumper dumper = { 0 }; in a5xx_gpu_state_get_hlsq_regs() local
1499 if (a5xx_crashdumper_init(gpu, &dumper)) in a5xx_gpu_state_get_hlsq_regs()
1503 ptr = dumper.ptr; in a5xx_gpu_state_get_hlsq_regs()
1506 offset = dumper.iova + (256 * SZ_1K); in a5xx_gpu_state_get_hlsq_regs()
1537 if (a5xx_crashdumper_run(gpu, &dumper)) { in a5xx_gpu_state_get_hlsq_regs()
1539 msm_gem_kernel_put(dumper.bo, gpu->aspace); in a5xx_gpu_state_get_hlsq_regs()
1544 memcpy(a5xx_state->hlsqregs, dumper.ptr + (256 * SZ_1K), in a5xx_gpu_state_get_hlsq_regs()
1547 msm_gem_kernel_put(dumper.bo, gpu->aspace); in a5xx_gpu_state_get_hlsq_regs()