]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/vc4: hvs: Create cob_init function
authorMaxime Ripard <mripard@kernel.org>
Fri, 21 Jun 2024 15:20:48 +0000 (16:20 +0100)
committerDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 9 Sep 2024 12:02:53 +0000 (13:02 +0100)
commit808f4055a10685664237a4771d6f579ea263edc1
tree13388ef7604d1b498407011adf47f480cc687018
parent2fa4ef5fb9433b7b43d76433201f394728803681
drm/vc4: hvs: Create cob_init function

Just like the HVS itself, the COB parameters will be fairly different in
the BCM2712.

Let's move the COB parameters computation and its initialisation to a
separate function that will be easier to extend in the future.

Signed-off-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Maxime Ripard <mripard@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240621152055.4180873-25-dave.stevenson@raspberrypi.com
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_hvs.c