drm/msm/dpu: remove encoder from crtc mixer struct
authorJeykumar Sankaran <jsanka@codeaurora.org>
Sat, 8 Dec 2018 02:38:36 +0000 (18:38 -0800)
committerSean Paul <seanpaul@chromium.org>
Fri, 1 Feb 2019 15:35:55 +0000 (10:35 -0500)
Not actively used. Clean up the crtc mixer struct.

changes in v2:
- none

Signed-off-by: Jeykumar Sankaran <jsanka@codeaurora.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c
drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.h

index 9be7c35..d6e6925 100644 (file)
@@ -465,8 +465,6 @@ static void _dpu_crtc_setup_mixer_for_encoder(
                        return;
                }
 
-               mixer->encoder = enc;
-
                cstate->num_mixers++;
                DPU_DEBUG("setup mixer %d: lm %d\n",
                                i, mixer->hw_lm->idx - LM_0);
index dbfb38a..e59d62b 100644 (file)
@@ -84,14 +84,12 @@ struct dpu_crtc_smmu_state_data {
  * struct dpu_crtc_mixer: stores the map for each virtual pipeline in the CRTC
  * @hw_lm:     LM HW Driver context
  * @lm_ctl:    CTL Path HW driver context
- * @encoder:   Encoder attached to this lm & ctl
  * @mixer_op_mode:     mixer blending operation mode
  * @flush_mask:        mixer flush mask for ctl, mixer and pipe
  */
 struct dpu_crtc_mixer {
        struct dpu_hw_mixer *hw_lm;
        struct dpu_hw_ctl *lm_ctl;
-       struct drm_encoder *encoder;
        u32 mixer_op_mode;
        u32 flush_mask;
 };