]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Start WM computation from scratch on ILK-BDW
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 14 Jan 2016 12:53:34 +0000 (14:53 +0200)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 15 Jan 2016 02:33:25 +0000 (18:33 -0800)
commitd984ad2de92f276a1941b00c4e3ad695afa127cf
tree386a94552b10ba3229c3b49451a9f0cd8db257a7
parentc386ff147baf2068afbf4de3229bf76c3edb6e3b
drm/i915: Start WM computation from scratch on ILK-BDW

ilk_compute_pipe_wm() assumes as zeroed pipe_wm structure when it
starts. We used to pass such a zeroed struct in, but this got broken
when the pipe_wm structure got embedded in the crtc state.

To fix it without too much fuzz, we need to resort to a memset().

Fixes: d9f9791c08ea ("drm/i915: Calculate pipe watermarks into CRTC state (v3)")
Cc: Matt Roper <matthew.d.roper@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1452776015-22076-1-git-send-email-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_pm.c