drm/i915: Refactor self-refresh watermark calculations
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 24 Jan 2011 17:43:27 +0000 (17:43 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 25 Jan 2011 11:22:10 +0000 (11:22 +0000)
commitd210246ab1106d77df91a4185b9d3b75a63be81f
tree561884ea504167d42b419d234a43ae5caa8da760
parent29ee399131395d8b607803874a206b9daf714025
drm/i915: Refactor self-refresh watermark calculations

Move the plane->mode config to the point of use rather than repeatedly
querying the same information.

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