]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/msm/mdp5: add missing LM flush bits
authorRob Clark <robdclark@gmail.com>
Mon, 19 Feb 2018 13:29:33 +0000 (08:29 -0500)
committerRob Clark <robdclark@gmail.com>
Mon, 19 Mar 2018 10:33:38 +0000 (06:33 -0400)
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>
drivers/gpu/drm/msm/disp/mdp5/mdp5_ctl.c

index 1197f060c5c687519ec86476a422de33e5e1a55e..6b605562e572e475ac87557eaa37d48b348fc7e7 100644 (file)
@@ -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;
        }