drm/i915/glk: Program dphy param reg for GLK
authorDeepak M <m.deepak@intel.com>
Fri, 17 Feb 2017 12:43:29 +0000 (18:13 +0530)
committerJani Nikula <jani.nikula@intel.com>
Tue, 28 Feb 2017 09:31:01 +0000 (11:31 +0200)
commit39299838eea1a310b1309b538b80cd00603698fd
treea2f89df61c28285157b10c10461127e4806a0c8f
parent67b807a892302d184f6987b0c3cc2dc2505e4a2d
drm/i915/glk: Program dphy param reg for GLK

For GEMINILAKE, dphy param reg values are programmed in terms
of HS byte clock count while for older platforms in terms of
HS ddr clk count.

v2: Added comments to clarify ddr clock count calculation
v3: Use multiplier variable instead of IS_GEMINILAKE()
check everywhere (Jani)

Signed-off-by: Deepak M <m.deepak@intel.com>
Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1487335415-14766-2-git-send-email-madhav.chauhan@intel.com
drivers/gpu/drm/i915/intel_dsi_panel_vbt.c