Re: [PATCH 1/2] drm/exynos: Fix locking in the suspend/resume paths

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 14, 2017 at 2:01 PM, Marek Szyprowski
<m.szyprowski@xxxxxxxxxxx> wrote:
> 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@xxxxxxxxxxxxxxx # v4.13
> Signed-off-by: Marek Szyprowski <m.szyprowski@xxxxxxxxxxx>
> ---
>  drivers/gpu/drm/exynos/exynos_drm_drv.c | 4 ++++
>  1 file changed, 4 insertions(+)

Acked-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx>

Best regards,
Krzysztof
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux