diff options
author | Jitao Shi <jitao.shi@mediatek.com> | 2016-11-16 11:20:54 +0800 |
---|---|---|
committer | CK Hu <ck.hu@mediatek.com> | 2016-11-24 14:53:14 +0800 |
commit | f6c872397028837c80685ee96c4011c62abe9a73 (patch) | |
tree | 47927838d25847c3dee50bb8c420d760c70a7373 /scripts/gcc-plugins/sancov_plugin.c | |
parent | 1ee6f347f81925fa8f3816e69ca1b49021f37850 (diff) |
drm/mediatek: fixed the calc method of data rate per lane
Tune dsi frame rate by pixel clock, dsi add some extra signal (i.e.
Tlpx, Ths-prepare, Ths-zero, Ths-trail,Ths-exit) when enter and exit LP
mode, those signals will cause h-time larger than normal and reduce FPS.
So need to multiply a coefficient to offset the extra signal's effect.
coefficient = ((htotal*bpp/lane_number)+Tlpx+Ths_prep+Ths_zero+
Ths_trail+Ths_exit)/(htotal*bpp/lane_number)
Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions