diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-03-02 15:22:17 (GMT) |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2016-03-04 12:46:51 (GMT) |
commit | a457f54b293c82fc6b222d9bc59fed4984321d84 (patch) | |
tree | dd0cd28fc3c12f710d6438c48c0ff97458726d8e /drivers/thermal/ti-soc-thermal | |
parent | 35d38d1f17b853a014b500350ab3135790d47ef3 (diff) | |
download | linux-a457f54b293c82fc6b222d9bc59fed4984321d84.tar.xz |
drm/i915: Clean up .get_aux_clock_divider() functions
Now that the mess with AUX clock divder rounding is sorted out and
we have both cdclk and rawclk cached in dev_priv, we can clean up
the .get_aux_clock_divider() functions a bit.
The main thing here is just calling ilk_get_aux_clock_divider()
from hsw_get_aux_clock_divider() except for the LPT:H special
case.
We could go further and call g4x_get_aux_clock_divider() from
ilk_get_aux_clock_divider() for the PCH ports, but I'm sure Jani
would object, so leave that be.
While at it repeat the comment where the AUX clock comes from
in ilk_get_aux_clock_divider().
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1456932138-14004-6-git-send-email-ville.syrjala@linux.intel.com
Diffstat (limited to 'drivers/thermal/ti-soc-thermal')
0 files changed, 0 insertions, 0 deletions