From: Ville Syrjälä Date: Wed, 7 Aug 2013 10:29:12 +0000 (+0300) Subject: drm/i915: Pull some watermarks state into a separate structure X-Git-Tag: v3.12-rc1~136^2~59^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=240264f49edbe02eb96b472ae1c518cc413f9d01;p=pandora-kernel.git drm/i915: Pull some watermarks state into a separate structure There is a bunch of global state that needs to be considered when checking watermarks for validity. Move most of that to a new structure intel_wm_config, to avoid having to pass around so many variables. One notable thing left out is the DDB partitioning information, since we often anyway need to check the same watermarks against both 1/2 and 5/6 DDB partitioning layouts. v2: s/pipes_active/num_pipes_active Reviewed-by: Chris Wilson Signed-off-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed