drm/vc4: Check for the binner bo before handling OOM interrupt
authorPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Thu, 16 May 2019 14:55:43 +0000 (16:55 +0200)
committerPaul Kocialkowski <paul.kocialkowski@bootlin.com>
Thu, 23 May 2019 15:31:43 +0000 (17:31 +0200)
commite43fe02fe4fde417b40f6e70b56a30190edabb2e
treee6427972d0fb5ba2d304f2f2e28b0608554c09a2
parent65f50f9761343d3dcc580db8e36e05d321d7e980
drm/vc4: Check for the binner bo before handling OOM interrupt

Since the OOM interrupt directly deals with the binner bo, it doesn't
make sense to try and handle it without a binner buffer registered.

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-4-paul.kocialkowski@bootlin.com
drivers/gpu/drm/vc4/vc4_irq.c