]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/etnaviv: always allocate 4K for kernel ringbuffers
authorLucas Stach <l.stach@pengutronix.de>
Fri, 25 Oct 2024 15:14:17 +0000 (17:14 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 28 Oct 2024 15:49:04 +0000 (16:49 +0100)
commit5a85670cfaaca6a88eb6ee23777e45de444e5967
tree157476c467a450881f4f66c6aa032942576ef822
parent68786b7f49873c69ec332a045a9bf4337d71ec20
drm/etnaviv: always allocate 4K for kernel ringbuffers

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.

Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gpu.c