drm/i915: Fix FB WM for HSW
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 9 Aug 2013 15:02:09 +0000 (18:02 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 9 Aug 2013 18:27:43 +0000 (20:27 +0200)
commit5c536613d8ebda3da0448550d0a997651a6048e2
tree76897bf8038b61c3ea411eee6324f3cb831440d1
parent6f6005a52b79c2b2e3d58d8ab63791c378ebf82c
drm/i915: Fix FB WM for HSW

Due to a misplaced memset(), we never actually enabled the FBC WM on HSW.
Move the memset() to happen a bit earlier, so that it won't clobber
results->enable_fbc_wm.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_pm.c