]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc48d6acb7dcd40f23919ddb1dfdc1453b430b018
tree88f6e83c0333e6fb2f2de4a4ef15410caf04822b
parent3b14a5d620fada8b48c132273310d8667c369d7e
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