[Intel-gfx] [PATCH 06/16] drm/i915: Replace ironlake_compute_wm0 with g4x_compute_wm0

Keith Packard keithp at keithp.com
Fri May 13 02:34:49 CEST 2011


On Thu, 12 May 2011 22:17:14 +0100, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> 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.

g4x_compute_wm0 takes a plane. ironlake_compute_wm0 takes a pipe. The
change implicitly assumes that pipe == plane on ironlake. Please clarify?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20110512/b3ef45d0/attachment.sig>


More information about the Intel-gfx mailing list