drm/etnaviv: hold object lock while getting pages for coredump
authorLucas Stach <l.stach@pengutronix.de>
Fri, 22 Jan 2016 11:03:03 +0000 (12:03 +0100)
committerLucas Stach <l.stach@pengutronix.de>
Mon, 25 Jan 2016 13:23:49 +0000 (14:23 +0100)
commit339073ef77e45e87ec4cc8671b2d2328dcfd31f0
tree012fabc9e7d0faebc58dc71851adfed2dde36933
parent23a9d5dcb6ae114733fac4757b0b154571c21129
drm/etnaviv: hold object lock while getting pages for coredump

While all objects that get coredumped have an active IOVA and thus
pages already populated, etnaviv_gem_get_pages() still requires the
object lock to be held.

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