etnaviv: fix submit error path
authorLucas Stach <l.stach@pengutronix.de>
Fri, 8 Sep 2017 14:24:32 +0000 (16:24 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 13 Sep 2017 13:06:42 +0000 (15:06 +0200)
commit5a642e6bc49f59922e19ebd639e74f72753fc77b
tree2efec9d45dd02f31a853bfabb6f91b6db57686ed
parent569dbb88e80deb68974ef6fdd6a13edb9d686261
etnaviv: fix submit error path

If the gpu submit fails, bail out to avoid accessing a potentially
unititalized fence.

CC: stable@vger.kernel.org #4.12+
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c