drm/i915/pch: Use minimal number of FDI lanes (v2)
authorAdam Jackson <ajax@redhat.com>
Mon, 12 Apr 2010 15:38:44 +0000 (11:38 -0400)
committerEric Anholt <eric@anholt.net>
Sun, 18 Apr 2010 23:57:44 +0000 (16:57 -0700)
commit77ffb5979de59efd1a6b280b10d647b09285bee0
treea3a2293c9e944900c59d9b56b778d90c4f766f99
parent7f8a85698f5c8a981641ec0bdf9926768786db9d
drm/i915/pch: Use minimal number of FDI lanes (v2)

This should be a small power savings. Tested on Lenovo T410 (Ironlake), LVDS
VGA and DisplayPort, up to 1920x1200R.

v2: Add Sandybridge support, fix obvious math error.

Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h