drm/i915: Initialize downclock mode in panel init
authorVandana Kannan <vandana.kannan@intel.com>
Tue, 11 Feb 2014 08:56:36 +0000 (14:26 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Feb 2014 17:53:05 +0000 (18:53 +0100)
commit4b6ed685e4cfe850250d2681025df44e5e05ad6c
tree4a7579395c73bdc9248d771aa34a73acf60ea4e4
parent53f5e3ca258b9027f2effbdbb4512e459456feee
drm/i915: Initialize downclock mode in panel init

Instead of modifying intel_panel in lvds_init_connector/dsi_init/
edp_init_connector, making changes to move intel_panel->downclock_mode
initialization to intel_panel_init()

v2: Jani's review comments incorporated
Removed downclock_mode local variable in dsi_init and
edp_init_connector

Signed-off-by: Vandana Kannan <vandana.kannan@intel.com>
Signed-off-by: Pradeep Bhat <pradeep.bhat@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_dsi.c
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_panel.c