Searched refs:MSM_GPU_RINGBUFFER_SZ (Results 1 – 4 of 4) sorted by relevance
65 BUILD_BUG_ON(!is_power_of_2(MSM_GPU_RINGBUFFER_SZ)); in msm_ringbuffer_new()76 ring->start = msm_gem_kernel_new(gpu->dev, MSM_GPU_RINGBUFFER_SZ, in msm_ringbuffer_new()88 ring->end = ring->start + (MSM_GPU_RINGBUFFER_SZ >> 2); in msm_ringbuffer_new()
291 #define MSM_GPU_RINGBUFFER_SZ SZ_32K macro295 (AXXX_CP_RB_CNTL_BUFSZ(ilog2(MSM_GPU_RINGBUFFER_SZ / 8)) | \
628 for (j = state->ring[i].wptr; j < MSM_GPU_RINGBUFFER_SZ >> 2; j++) in adreno_gpu_state_get()823 drm_printf(p, " size: %u\n", MSM_GPU_RINGBUFFER_SZ); in adreno_show()909 uint32_t size = MSM_GPU_RINGBUFFER_SZ >> 2; in ring_freewords()
411 return (ring->cur - ring->start) % (MSM_GPU_RINGBUFFER_SZ >> 2); in get_wptr()