Re: drm/etnaviv: always allocate 4K for kernel ringbuffers

2024-10-26 Thread Sui Jingfeng
Hi, On 10/25/24 23:14, Lucas Stach wrote: Since the kernel ringbuffers are allocated from a larger suballocated area, same as the user commandbufs, they don't need to be CPU page sized. Allocate 4KB for the kernel ring buffers, as we never use more than that. Signed-off-by: Lucas Stach Review

Re: [PATCH] drm/etnaviv: always allocate 4K for kernel ringbuffers

2024-10-26 Thread Christian Gmeiner
Am Fr., 25. Okt. 2024 um 17:14 Uhr schrieb Lucas Stach : > > Since the kernel ringbuffers are allocated from a larger suballocated > area, same as the user commandbufs, they don't need to be CPU page > sized. Allocate 4KB for the kernel ring buffers, as we never use more > than that. > > Signed-off

[PATCH] drm/etnaviv: always allocate 4K for kernel ringbuffers

2024-10-25 Thread Lucas Stach
Since the kernel ringbuffers are allocated from a larger suballocated area, same as the user commandbufs, they don't need to be CPU page sized. Allocate 4KB for the kernel ring buffers, as we never use more than that. Signed-off-by: Lucas Stach --- drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 3 +--