diff options
author | 2017-09-14 14:01:00 +0200 | |
---|---|---|
committer | 2017-09-19 19:50:43 +0900 | |
commit | 5baf6bb0fd2388742a0846cc7bcacee6dec78235 (patch) | |
tree | 7726d25f1d280daa83b28de77acfbd225f08cccd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'drm-amdkfd-next-2017-09-02' of git://people.freedesktop.org/~gabbayo/linux into drm-fixes (diff) | |
download | wireguard-linux-5baf6bb0fd2388742a0846cc7bcacee6dec78235.tar.xz wireguard-linux-5baf6bb0fd2388742a0846cc7bcacee6dec78235.zip |
drm/exynos: Fix locking in the suspend/resume paths
Commit 48a92916729b ("drm/exynos: use drm_for_each_connector_iter()")
replaced unsafe drm_for_each_connector() with drm_for_each_connector_iter()
and removed surrounding drm_modeset_lock calls. However, that lock was
there not only to protect unsafe drm_for_each_connector(), but it was also
required to be held by the dpms code which was called from the loop body.
This patch restores those drm_modeset_lock calls to fix broken suspend
and resume of Exynos DRM subsystem in v4.13 kernel.
Fixes: 48a92916729b ("drm/exynos: use drm_for_each_connector_iter()")
CC: stable@vger.kernel.org # v4.13
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions