drm/i915: Tidy Ironlake watermark computation
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 11 Sep 2010 09:46:47 +0000 (10:46 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 11 Sep 2010 09:59:57 +0000 (10:59 +0100)
commit4ed765f966c8279acc6f6bc1a5dcb0424d074b40
tree6955e28290f74b665ea93e0a7fc7532aa6bc40cc
parentbed4a6734b5f56ffd240fdda755b6eb589d32482
drm/i915: Tidy Ironlake watermark computation

Refactor the common code into seperate functions and use the MIN(large,
small) buffer calculation for self-refresh watermarks.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c