msm: mdss: refactor performance calculations