]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: enable/disable LVDS port at DPMS time
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 11 Feb 2010 20:41:05 +0000 (12:41 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 26 Feb 2010 21:23:22 +0000 (13:23 -0800)
commit0a7df8c3d0537eaa24a7b9de7c4073533f551691
tree9799b7209b78a512482f12be05eb1ebef4833ab0
parent94e6aa71f49f306a26a0c21f465efd4c04683305
drm/i915: enable/disable LVDS port at DPMS time

It would be good to disable the LVDS port when we shut down the panel
to save power.  We haven't done so until now because we had trouble
getting the right LVDS parameters from the BIOS.  I think we're past
that now, so enabling and disabling the port should be safe, though it
would probably be made cleaner with some additional changes to the
display code, where we also bang on the LVDS reg to set the pairing
correctly etc.

Seems to save a bit of power (up to 300mW in my basic wattsup
meter testing).

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_lvds.c