]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2d330aa8c729a2cc8691a3ea016d88ab1199c9d5
tree9dffc65bd2c4e4aed4ef98dbf8615b618bcd9a28
parente53a4463e4cc4407e59c5e6e19b191ab0ca69a5f
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