mirror of https://gitee.com/openkylin/linux.git
cb1e38181a
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> |
||
---|---|---|
.. | ||
a2xx.xml.h | ||
a3xx.xml.h | ||
a3xx_gpu.c | ||
a3xx_gpu.h | ||
a4xx.xml.h | ||
a4xx_gpu.c | ||
a4xx_gpu.h | ||
a5xx.xml.h | ||
a5xx_gpu.c | ||
a5xx_gpu.h | ||
a5xx_power.c | ||
adreno_common.xml.h | ||
adreno_device.c | ||
adreno_gpu.c | ||
adreno_gpu.h | ||
adreno_pm4.xml.h |