]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteb50c5e5fef1538989650c3269177777430eb58a
treeb767377a0f0e73f15011af3cb431711bd2f8a071
parentcc535c38d9df8b78994a13a90709a967dbf6e86a
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