aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2011-05-12 22:17:14 +0100
committerKeith Packard <[email protected]>2011-06-04 10:40:59 -0700
commit9f405100f2b39be7759eea3f4cf910869727429c (patch)
treefe683a1dc25690781653109d3ac29c5a855815de /tools/perf/util/scripting-engines/trace-event-python.c
parentbf3301abba31ee71ed8dc87f18fcaebd27dc3b3e (diff)
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 <[email protected]> Reviewed-by: Keith Packard <[email protected]> Signed-off-by: Keith Packard <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions