diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2013-07-05 11:57:22 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-05 19:04:00 +0200 |
commit | e5d5019e95415a99b1c0bca3dab6d8fcd39f4c65 (patch) | |
tree | 27a6f5a4a7afd234b0c986e918e76e6edad43f73 /lib/raid6/algos.c | |
parent | 12b134df4e42ea1ac141388e563346777f8a1605 (diff) |
drm/i915: Don't multiply the watermark latency values too early
The LP1+ watermark latency values need to be multiplied by 5 to
make them suitable for watermark calculations. However on pre-HSW
platforms we're going to need the raw value later when we have to
write it to the WM_LPn registers' latency field. So delay the
multiplication until it's needed.
Note: Paulo complains that the units of wm (now in 100ns) aren't
really clear and I agree. But that can be fixed later on ...
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
[danvet: Add a comment about the unit obfuscation.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/raid6/algos.c')
0 files changed, 0 insertions, 0 deletions