aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2010-04-12 11:38:44 -0400
committerEric Anholt <eric@anholt.net>2010-04-18 19:57:44 -0400
commit77ffb5979de59efd1a6b280b10d647b09285bee0 (patch)
treea3a2293c9e944900c59d9b56b778d90c4f766f99 /drivers/gpu/drm/i915/intel_drv.h
parent7f8a85698f5c8a981641ec0bdf9926768786db9d (diff)
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>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 8a64c154b42c..1ee4717f431f 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -152,6 +152,7 @@ struct intel_crtc {
152 bool lowfreq_avail; 152 bool lowfreq_avail;
153 struct intel_overlay *overlay; 153 struct intel_overlay *overlay;
154 struct intel_unpin_work *unpin_work; 154 struct intel_unpin_work *unpin_work;
155 int fdi_lanes;
155}; 156};
156 157
157#define to_intel_crtc(x) container_of(x, struct intel_crtc, base) 158#define to_intel_crtc(x) container_of(x, struct intel_crtc, base)