]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit115e5f627ca07e0a66804853dcd9fc1d964426e6
tree2efec9d45dd02f31a853bfabb6f91b6db57686ed
parent5807ba3518e1717d728a6890608cb26261dd7af6
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