drm/vc4: kms: Register a different drm_mode_config_funcs on BCM2711
authorMaxime Ripard <maxime@cerno.tech>
Fri, 10 Jun 2022 11:51:41 +0000 (13:51 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Thu, 16 Jun 2022 09:07:51 +0000 (11:07 +0200)
commit39a30ec64510f71d2a9f5059a7fc1283c4108a35
treeb767377a0f0e73f15011af3cb431711bd2f8a071
parent538f111160618ef56743a5302e114530edb7df77
drm/vc4: kms: Register a different drm_mode_config_funcs on BCM2711

On the BCM2711, our current definition of drm_mode_config_funcs uses the
custom vc4_fb_create().

However, that function relies on the buffer allocation path that was
relying on the GPU, and is no longer relevant.

Let's create another drm_mode_config_funcs structure that we will
register on the BCM2711.

Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220610115149.964394-7-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_kms.c