]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: hub: Remove bogus connection mutex check
authorThierry Reding <treding@nvidia.com>
Tue, 3 Dec 2019 16:19:06 +0000 (17:19 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 4 Dec 2019 12:34:48 +0000 (13:34 +0100)
commit9e1ca61b891699eb17bab99338425a7665b22637
treeda10870c483957299b1224a51b44c0047f06aa1e
parent0d1fefc7c172c0bf960ca27542510fdca557a7ea
drm/tegra: hub: Remove bogus connection mutex check

The Tegra DRM never actually took that lock, so the driver was broken
until generic locking was added in commit:

commit 66c6f7dfdc8e2c3b9d4b302a241cd65eb447d885
Author: Rob Clark <robdclark@gmail.com>
Date:   Mon Oct 22 14:31:22 2018 +0200

    drm/atomic: integrate modeset lock with private objects

It's now no longer necessary to take that lock, so drop the check.

v2: add rationale for why it is now safe to drop the check (Daniel)

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/hub.c