Skip to content
Commit f47f7d57 authored by Lucas Stach's avatar Lucas Stach Committed by Paul Gortmaker
Browse files

drm/etnaviv: lock MMU while dumping core

commit 1396500d upstream.

The devcoredump needs to operate on a stable state of the MMU while
it is writing the MMU state to the coredump. The missing lock
allowed both the userspace submit, as well as the GPU job finish
paths to mutate the MMU state while a coredump is under way.

Fixes: a8c21a54

 (drm/etnaviv: add initial etnaviv DRM driver)
Reported-by: default avatarDavid Jander <david@protonic.nl>
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Tested-by: default avatarDavid Jander <david@protonic.nl>
Reviewed-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent 99044cd6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment