drm/i915: fix the wrong latency value while computing wm0
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Thu, 23 Dec 2010 08:35:40 +0000 (16:35 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 11 Jan 2011 20:36:15 +0000 (20:36 +0000)
commita0fa62d3b6afaa260cad8ccd6944e81ad01c7cf3
tree88f6e83c0333e6fb2f2de4a4ef15410caf04822b
parentb79d4990226defc3789f9ba492b27e9e56790857
drm/i915: fix the wrong latency value while computing wm0

On Ironlake, the LP0 latency is hardcoded and in ns unit, while on
Sandybridge, it comes from a register and with unit 0.1 us. So, fix
the wrong latency value while computing wm0 on Ironlake and Sandybridge.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c