Lines Matching refs:a5xx_state
1511 struct a5xx_gpu_state *a5xx_state) in a5xx_gpu_state_get_hlsq_regs() argument
1531 a5xx_state->hlsqregs = kcalloc(count, sizeof(u32), GFP_KERNEL); in a5xx_gpu_state_get_hlsq_regs()
1532 if (!a5xx_state->hlsqregs) in a5xx_gpu_state_get_hlsq_regs()
1557 kfree(a5xx_state->hlsqregs); in a5xx_gpu_state_get_hlsq_regs()
1563 memcpy(a5xx_state->hlsqregs, dumper.ptr + (256 * SZ_1K), in a5xx_gpu_state_get_hlsq_regs()
1571 struct a5xx_gpu_state *a5xx_state = kzalloc(sizeof(*a5xx_state), in a5xx_gpu_state_get() local
1575 if (!a5xx_state) in a5xx_gpu_state_get()
1582 adreno_gpu_state_get(gpu, &(a5xx_state->base)); in a5xx_gpu_state_get()
1584 a5xx_state->base.rbbm_status = gpu_read(gpu, REG_A5XX_RBBM_STATUS); in a5xx_gpu_state_get()
1592 a5xx_gpu_state_get_hlsq_regs(gpu, a5xx_state); in a5xx_gpu_state_get()
1596 return &a5xx_state->base; in a5xx_gpu_state_get()
1603 struct a5xx_gpu_state *a5xx_state = container_of(state, in a5xx_gpu_state_destroy() local
1606 kfree(a5xx_state->hlsqregs); in a5xx_gpu_state_destroy()
1609 kfree(a5xx_state); in a5xx_gpu_state_destroy()
1627 struct a5xx_gpu_state *a5xx_state = container_of(state, in a5xx_show() local
1636 if (!a5xx_state->hlsqregs) in a5xx_show()
1653 if (a5xx_state->hlsqregs[pos] == 0xdeadbeef) in a5xx_show()
1657 o << 2, a5xx_state->hlsqregs[pos]); in a5xx_show()