diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2019-03-22 15:37:47 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2019-03-26 09:30:12 -0700 |
commit | 947f44174684eb0499f2255c256a8b61ae985057 (patch) | |
tree | 00bb89aa0a4146561e28098b09c23af49cf1f6f7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 602cbe8efc523ba56e1f41e8f74c7aa835672593 (diff) |
drm/i915/skl: use previous pll hw readout
By the time skl_ddi_clock_get() is called - and thus
skl_calc_wrpll_link() - we've just got the hw state from the pll
registers. We don't need to read them again: we can rather reuse what
was cached in the dpll_hw_state.
v2: rename state variable to pll_state, make argument const in
skl_calc_wrpll_link() and remove not useful warning (from Ville)
Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190322223751.22089-2-lucas.demarchi@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions