diff options
author | Rodrigo Vivi <[email protected]> | 2017-11-14 15:42:23 -0800 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2017-11-16 09:44:48 -0800 |
commit | 063c886197f677f79f37fa62ce77b9df9bb0c3cf (patch) | |
tree | 422903ae7e6637e989bdc809289b57b249c41125 /tools/perf/scripts/python/stackcollapse.py | |
parent | 5eca81de88927f3e43fdd6e90e8fa5204be996b7 (diff) |
drm/i915/cnl: Fix wrpll math for higher freqs.
Spec describe all values in MHz. We handle our
clocks in KHz. This includes the best_dco_centrality that was
forgot in the same unity as spec. Consequently we couldn't
get a good divider for high frequenies. Hence HDMI 2.0 wasn't
working.
Spec tells 999999 for initial best_dco_centrality meaning the
max value in MHz.
Since we convert dco from MHz to KHz we also need to convert
this initial best_doc_centrality to 999999000 or 999999999
or even better, to the max that its variable allow.
This patch also replaces the use of "* KHz(1)" with the values
directly on KHz to avoid future confusion.
v2: Use U32_MAX instead of random 99999 as spec tells. (Ville).
Cc: Ville Syrjälä <[email protected]>
Cc: Shashank Sharma <[email protected]>
Cc: Mika Kahola <[email protected]>
Cc: Manasi Navare <[email protected]>
Cc: James Ausmus <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions