drm/i915: Modify DP set clock to accomodate more eDP timings v2
authorChon Ming Lee <chon.ming.lee@intel.com>
Tue, 3 Sep 2013 17:30:37 +0000 (01:30 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 4 Sep 2013 15:34:57 +0000 (17:34 +0200)
commit9dd4ffdf3936e9cd85a5c856a192134b23b4b2ac
treec8d4e0f8b8cf4a903a7aeddf5562d3582402a584
parent8807e55b3a1bf7b159dcefa4504e204df364d4a1
drm/i915: Modify DP set clock to accomodate more eDP timings v2

eDP 1.4 supports 4-5 extra link rates in additional to current 2 link
rate.  Create a structure to store the DPLL divisor data to improve
readability.

v2: Fix the gen4_dpll/pch_dpll initialization to C99
designated initializers, and use a single loop for all platforms. (Jani and Daniel)

Signed-off-by: Chon Ming Lee <chon.ming.lee@intel.com>
[danvet: Fix up checkpatch warnings.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c