]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Make downclock deduction common for all panels
authorVandana Kannan <vandana.kannan@intel.com>
Tue, 10 Dec 2013 08:07:36 +0000 (13:37 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Dec 2013 12:26:15 +0000 (13:26 +0100)
commitec9ed1976c256333567932b4acced34c072b57a7
tree642d265fb290cb612edd55b564e6972d6977222c
parentc461562e84d180fb691af57f93a42bd9cc7eb69c
drm/i915: Make downclock deduction common for all panels

If one mode of a internal panel has more than one refresh rate, then a reduced
clock is found for the LFP (LVDS/eDP). This enables switching between low
and high frequency dynamically. Moving downclock calculation to intel_panel
so that it is common for LVDS and eDP.

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_drv.h
drivers/gpu/drm/i915/intel_lvds.c
drivers/gpu/drm/i915/intel_panel.c