summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2018-11-16 13:42:28 -0500
committerRob Clark <robdclark@gmail.com>2018-12-11 13:10:13 -0500
commita9d629d71dc7f8d93538f783a7a9ee15e9f1a328 (patch)
tree12cbae6878e4bf7952a06ee8cecacd23d368b35c /drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h
parentb77d0f0d4ee757e0a27a269a8b679108162f9bd2 (diff)
downloadtalos-obmc-linux-a9d629d71dc7f8d93538f783a7a9ee15e9f1a328.tar.gz
talos-obmc-linux-a9d629d71dc7f8d93538f783a7a9ee15e9f1a328.zip
drm/msm: dpu: Remove crtc_lock from setup_mixers
I think the intention here was to protect the enc->crtc access, but that's insufficient to avoid enc->crtc changing. Fortunately we're already holding the modeset lock when this is called (from atomic_check), so remove the crtc_lock and add a modeset lock check. While we're at it, use the encoder mask from crtc state instead of legacy pointer. Changes in v2: - None Reviewed-by: Jeykumar Sankaran <jsanka@codeaurora.org> Signed-off-by: Sean Paul <seanpaul@chromium.org> Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud