drm/vc4: drv: Skip BO Backend Initialization on BCM2711
authorMaxime Ripard <maxime@cerno.tech>
Thu, 21 Apr 2022 15:29:02 +0000 (17:29 +0200)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Wed, 11 May 2022 15:33:21 +0000 (16:33 +0100)
commit84ed11d606218812895b7e541dc59a278753bd05
tree7df437f0da181b0d5f6a679de63cc970ffc20b36
parent71fb88c82bf3b94d8141d832c7fa5c9bd646c7c2
drm/vc4: drv: Skip BO Backend Initialization on BCM2711

On the BCM2711, we currently call the vc4_bo_cache_init() and
vc4_gem_init() functions. These functions initialize the BO and GEM
backends.

However, this code was initially created to accomodate the requirements
of the GPU on the older SoCs, while the BCM2711 has a separate driver
for it. So let's just skip these calls when we're on a newer hardware.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
drivers/gpu/drm/vc4/vc4_drv.c