diff options
author | Rob Clark <robdclark@gmail.com> | 2018-02-19 08:29:33 -0500 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2018-03-19 06:33:38 -0400 |
commit | 583c13fd77c7db57add9de84a5e43fbf2be42168 (patch) | |
tree | b1a0bf0a5cc83df64cef36734948597d74805fda | |
parent | 1af817909d092a35d002f7f2bdd2ef56d349e6bb (diff) | |
download | op-kernel-dev-583c13fd77c7db57add9de84a5e43fbf2be42168.zip op-kernel-dev-583c13fd77c7db57add9de84a5e43fbf2be42168.tar.gz |
drm/msm/mdp5: add missing LM flush bits
For some reason, layer-mixer 3 and 4 were missing. LM3 is used for
writeback on 8x16.
Signed-off-by: Rob Clark <robdclark@gmail.com>
-rw-r--r-- | drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c index 1197f06..6b60556 100644 --- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c +++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c @@ -468,6 +468,8 @@ u32 mdp_ctl_flush_mask_lm(int lm) case 0: return MDP5_CTL_FLUSH_LM0; case 1: return MDP5_CTL_FLUSH_LM1; case 2: return MDP5_CTL_FLUSH_LM2; + case 3: return MDP5_CTL_FLUSH_LM3; + case 4: return MDP5_CTL_FLUSH_LM4; case 5: return MDP5_CTL_FLUSH_LM5; default: return 0; } |