linux/drivers/gpu/drm/msm/adreno
Rob Clark cb1e38181a drm/msm: fix locking inconsistency for gpu->hw_init()
Most, but not all, paths where calling the with struct_mutex held.  The
fast-path in msm_gem_get_iova() (plus some sub-code-paths that only run
the first time) was masking this issue.

So lets just always hold struct_mutex for hw_init().  And sprinkle some
WARN_ON()'s and might_lock() to avoid this sort of problem in the
future.

Signed-off-by: Rob Clark <robdclark@gmail.com>
2017-06-16 11:16:01 -04:00
..
a2xx.xml.h drm/msm: update generated headers 2016-11-28 15:14:10 -05:00
a3xx_gpu.c drm/msm: Remove idle function hook 2017-06-16 11:15:47 -04:00
a3xx_gpu.h drm/msm: update generated headers 2014-08-04 11:55:28 -04:00
a3xx.xml.h drm/msm: update generated headers 2016-11-28 15:14:10 -05:00
a4xx_gpu.c drm/msm: Remove idle function hook 2017-06-16 11:15:47 -04:00
a4xx_gpu.h drm/msm: a4xx support for msm-drm 2014-11-16 14:27:40 -05:00
a4xx.xml.h drm/msm: update generated headers 2016-11-28 15:14:10 -05:00
a5xx_gpu.c drm/msm: fix locking inconsistency for gpu->hw_init() 2017-06-16 11:16:01 -04:00
a5xx_gpu.h drm/msm: Remove idle function hook 2017-06-16 11:15:47 -04:00
a5xx_power.c drm/msm: fix locking inconsistency for gpu->hw_init() 2017-06-16 11:16:01 -04:00
a5xx.xml.h drm/msm: update generated headers 2016-11-28 15:14:10 -05:00
adreno_common.xml.h drm/msm: update generated headers 2016-11-28 15:14:10 -05:00
adreno_device.c drm/msm: fix locking inconsistency for gpu->hw_init() 2017-06-16 11:16:01 -04:00
adreno_gpu.c drm/msm: fix locking inconsistency for gpu->hw_init() 2017-06-16 11:16:01 -04:00
adreno_gpu.h drm/msm: Remove memptrs->wptr 2017-06-16 11:16:01 -04:00
adreno_pm4.xml.h drm/msm: update generated headers 2016-11-28 15:14:10 -05:00