drm/etnaviv: lock BOs after all other submit work is done
authorLucas Stach <l.stach@pengutronix.de>
Tue, 5 Dec 2017 09:55:02 +0000 (10:55 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 12 Feb 2018 15:31:00 +0000 (16:31 +0100)
commite0580254ae5c70f9fad3e24c20b92287ad817d8e
tree5d5c2ebd4c16de9fc472433971eb02dd48fed18c
parent683da226f88dde7bf68940c21418995b63baae2f
drm/etnaviv: lock BOs after all other submit work is done

Populating objects, adding them to the GPU VM and patching/validating
the command stream might take a lot of CPU time. There is no reason to
hold all object reservations during that time.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c