drm/tegra: Don't use modeset_lock_crtc
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 22 Mar 2017 21:50:46 +0000 (22:50 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 27 Mar 2017 15:50:47 +0000 (17:50 +0200)
commit99612b27763f819e53d5d892ce81a4b042a1de11
tree3dbc961fbff471e02bffc0b1e9243ffa9b22e84a
parentc0411316ab93e35a671aafcab82d1eefed449a4f
drm/tegra: Don't use modeset_lock_crtc

Yes the help text is unhelpful, but atomic drivers should never use
this. Just grab the lock without context or anything.

Also an aside: Checking ->active like this doesn't protect against
nonblocking commits, this is rather bogus.

Cc: Thierry Reding <thierry.reding@gmail.com>
Acked-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170322215058.8671-8-daniel.vetter@ffwll.ch
drivers/gpu/drm/tegra/dc.c