drm/i915: Round up the watermark entries (v3)
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 19 Jul 2010 18:59:52 +0000 (19:59 +0100)
committerEric Anholt <eric@anholt.net>
Mon, 2 Aug 2010 02:47:37 +0000 (19:47 -0700)
commit8de9b311bcd117a97998574705829bd48bfa2971
tree9dffc65bd2c4e4aed4ef98dbf8615b618bcd9a28
parentd79613643b4512962b2be5262a09b6694dd96101
drm/i915: Round up the watermark entries (v3)

Even though "we have enough padding that it should be ok", round up the
watermark entries to the next unit to be on the safe side...

v2: Use the DIV_ROUND_UP macro
v3: Spotted a few more missing round-ups.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_display.c