Lines Matching refs:a5xx_state
1285 struct a5xx_gpu_state *a5xx_state) in a5xx_gpu_state_get_hlsq_regs() argument
1305 a5xx_state->hlsqregs = kcalloc(count, sizeof(u32), GFP_KERNEL); in a5xx_gpu_state_get_hlsq_regs()
1306 if (!a5xx_state->hlsqregs) in a5xx_gpu_state_get_hlsq_regs()
1331 kfree(a5xx_state->hlsqregs); in a5xx_gpu_state_get_hlsq_regs()
1337 memcpy(a5xx_state->hlsqregs, dumper.ptr + (256 * SZ_1K), in a5xx_gpu_state_get_hlsq_regs()
1345 struct a5xx_gpu_state *a5xx_state = kzalloc(sizeof(*a5xx_state), in a5xx_gpu_state_get() local
1348 if (!a5xx_state) in a5xx_gpu_state_get()
1355 adreno_gpu_state_get(gpu, &(a5xx_state->base)); in a5xx_gpu_state_get()
1357 a5xx_state->base.rbbm_status = gpu_read(gpu, REG_A5XX_RBBM_STATUS); in a5xx_gpu_state_get()
1360 a5xx_gpu_state_get_hlsq_regs(gpu, a5xx_state); in a5xx_gpu_state_get()
1364 return &a5xx_state->base; in a5xx_gpu_state_get()
1371 struct a5xx_gpu_state *a5xx_state = container_of(state, in a5xx_gpu_state_destroy() local
1374 kfree(a5xx_state->hlsqregs); in a5xx_gpu_state_destroy()
1377 kfree(a5xx_state); in a5xx_gpu_state_destroy()
1395 struct a5xx_gpu_state *a5xx_state = container_of(state, in a5xx_show() local
1404 if (!a5xx_state->hlsqregs) in a5xx_show()
1421 if (a5xx_state->hlsqregs[pos] == 0xdeadbeef) in a5xx_show()
1425 o << 2, a5xx_state->hlsqregs[pos]); in a5xx_show()