drm/msm/dpu: use encoder type to identify display type
authorJeykumar Sankaran <jsanka@codeaurora.org>
Tue, 28 Aug 2018 23:02:18 +0000 (16:02 -0700)
committerRob Clark <robdclark@gmail.com>
Thu, 4 Oct 2018 00:24:50 +0000 (20:24 -0400)
commit1e53ac9280a0ac48ea1024a9d02bc08e3220d842
treea53570c84bf480abfd0b53912d23ef10330f1a87
parent48a8ef7209dba19b9932b375841ea21a69c4c0e2
drm/msm/dpu: use encoder type to identify display type

With patch [1], DPU is broken since it continues to use
incorrect connector_type to identify the display type. Update
DPU to use the encoder type to get the info.

[1] https://patchwork.kernel.org/patch/10568269/

Acked-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c