diff options
author | 2011-05-12 22:17:14 +0100 | |
---|---|---|
committer | 2011-06-04 10:40:59 -0700 | |
commit | 9f405100f2b39be7759eea3f4cf910869727429c (patch) | |
tree | fe683a1dc25690781653109d3ac29c5a855815de /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | drm/i915: Only print out the actual number of fences for i915_error_state (diff) | |
download | linux-dev-9f405100f2b39be7759eea3f4cf910869727429c.tar.xz linux-dev-9f405100f2b39be7759eea3f4cf910869727429c.zip |
drm/i915: Replace ironlake_compute_wm0 with g4x_compute_wm0
The computation of the first-level watermarks for g4x and gen5+ are
based on the same algorithm, so we can refactor those code paths to
use a single function.
Note that g4x_compute_wm0 takes a 'plane' argument while
ironlake_compute_wm0 took a 'pipe' argument. Both should have used a
'plane' argument, so this patch fixes that as well (not that it caused
a problem; ironlake always uses pipe == plane).
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions