Home
last modified time | relevance | path

Searched refs:MSM_GPU_RINGBUFFER_SZ (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_ringbuffer.c65 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()
Dmsm_gpu.h291 #define MSM_GPU_RINGBUFFER_SZ SZ_32K macro
295 (AXXX_CP_RB_CNTL_BUFSZ(ilog2(MSM_GPU_RINGBUFFER_SZ / 8)) | \
/linux-6.1.9/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.c628 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()
Dadreno_gpu.h411 return (ring->cur - ring->start) % (MSM_GPU_RINGBUFFER_SZ >> 2); in get_wptr()