drm/vc4: Check for V3D before binner bo alloc
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Thu, 16 May 2019 14:55:42 +0000 (16:55 +0200)
committerPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Thu, 23 May 2019 15:31:42 +0000 (17:31 +0200)
commit65f50f9761343d3dcc580db8e36e05d321d7e980
tree59166eaf3be423724a8c3d4a514b88457d9bdb6f
parent66fafd338780cb5adb7f290b384d9d3c6c7f6bb5
drm/vc4: Check for V3D before binner bo alloc

Check that we have a V3D device registered before attempting to
allocate a binner buffer object.

Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20190516145544.29051-3-paul.kocialkowski@bootlin.com
drivers/gpu/drm/vc4/vc4_v3d.c