From: Ville Syrjälä Date: Mon, 14 Oct 2013 11:55:24 +0000 (+0300) Subject: drm/i915: Init HSW watermark tracking in intel_modeset_setup_hw_state() X-Git-Tag: v3.13-rc1~76^2~68^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=243e6a44b9ca5aa3c9ce47459a53e03b1dc7e665;p=pandora-kernel.git drm/i915: Init HSW watermark tracking in intel_modeset_setup_hw_state() Fill out the HSW watermark s/w tracking structures with the current hardware state in intel_modeset_setup_hw_state(). This allows us to skip the HW state readback during watermark programming and just use the values we keep around in dev_priv->wm. Reduces the overhead of the watermark programming quite a bit. v2: s/init_wm/wm_get_hw_state Remove stale comment about sprites Make DDB partitioning readout safer Signed-off-by: Ville Syrjälä Reviewed-by: Paulo Zanoni [danvet: Fix whitespace fail.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed