diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-05-12 22:17:14 +0100 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-06-04 10:40:59 -0700 |
commit | 9f405100f2b39be7759eea3f4cf910869727429c (patch) | |
tree | fe683a1dc25690781653109d3ac29c5a855815de /Kbuild | |
parent | bf3301abba31ee71ed8dc87f18fcaebd27dc3b3e (diff) | |
download | talos-op-linux-9f405100f2b39be7759eea3f4cf910869727429c.tar.gz talos-op-linux-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 'Kbuild')
0 files changed, 0 insertions, 0 deletions