diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-04-21 21:14:27 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2017-05-10 16:48:31 +0300 |
commit | baf69ca8a51c8a5ef6ef869f684764459a9b6fa2 (patch) | |
tree | 5a2979759fdf2d022b869a623fab16336004c84f /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0f95ff8505b25aa29530818afcf12ff08399ccf5 (diff) |
drm/i915: Refactor wm calculations
All platforms until SKL compute their watermarks essentially
using the same method1/small buffer and method2/large buffer
formulas. Most just open code it in slightly different ways.
Let's pull it all into common helpers. This makes it a little
easier to spot the actual differences.
While at it try to add some docs explainign what the formulas
are trying to do.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170421181432.15216-11-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions