Searched refs:MSM_GPU_RINGBUFFER_SZ (Results 1 – 4 of 4) sorted by relevance
68 BUILD_BUG_ON(!is_power_of_2(MSM_GPU_RINGBUFFER_SZ)); in msm_ringbuffer_new()79 ring->start = msm_gem_kernel_new(gpu->dev, MSM_GPU_RINGBUFFER_SZ, in msm_ringbuffer_new()91 ring->end = ring->start + (MSM_GPU_RINGBUFFER_SZ >> 2); in msm_ringbuffer_new()
311 #define MSM_GPU_RINGBUFFER_SZ SZ_32K macro315 (AXXX_CP_RB_CNTL_BUFSZ(ilog2(MSM_GPU_RINGBUFFER_SZ / 8)) | \
692 for (j = state->ring[i].wptr; j < MSM_GPU_RINGBUFFER_SZ >> 2; j++) in adreno_gpu_state_get()884 drm_printf(p, " size: %u\n", MSM_GPU_RINGBUFFER_SZ); in adreno_show()970 uint32_t size = MSM_GPU_RINGBUFFER_SZ >> 2; in ring_freewords()
675 return (ring->cur - ring->start) % (MSM_GPU_RINGBUFFER_SZ >> 2); in get_wptr()