diff options
author | Ville Syrjälä <[email protected]> | 2013-09-13 15:59:11 +0300 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2013-09-16 22:38:51 +0200 |
commit | 6878da05006feb68efe23a6ae010b1a5df32ca5f (patch) | |
tree | 55953ec781636feac00474c488f8b30229a22510 /lib/memory-notifier-error-inject.c | |
parent | 794a79a6b00db14c535c951b03820ea5199c82a3 (diff) |
drm/i915: Add intel_dotclock_calculate()
Extract the code to calculate the dotclock from the link clock and M/N
values into a new function from ironlake_crtc_clock_get().
The new function can be used to calculate the dotclock for both FDI and
DP cases.
Also simplify the code a bit along the way.
v2: Don't forget about non-pch encoders in ironlake_crtc_clock_get()
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions