From: Thomas Daniel Date: Fri, 23 Oct 2015 13:55:38 +0000 (+0100) Subject: drm/i915: Fix maxfifo watermark calc on vlv cursor planes X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5a37ed0a9eda5fd77a4cc92c6e46b6f6e8db873d;p=linux-beck.git drm/i915: Fix maxfifo watermark calc on vlv cursor planes A typo resulted in the watermarks for cursor planes not being calculated correctly. Fixed the typo. Cc: Ville Syrjälä Signed-off-by: Thomas Daniel Reviewed-by: Ville Syrjälä Signed-off-by: Jani Nikula --- diff --git a/drivers/gpu/drm/i915/intel_pm.c b/drivers/gpu/drm/i915/intel_pm.c index 9dda3eaebd12..80175a38a875 100644 --- a/drivers/gpu/drm/i915/intel_pm.c +++ b/drivers/gpu/drm/i915/intel_pm.c @@ -1135,7 +1135,7 @@ static void vlv_compute_wm(struct intel_crtc *crtc) case DRM_PLANE_TYPE_CURSOR: for (level = 0; level < wm_state->num_levels; level++) wm_state->sr[level].cursor = - wm_state->sr[level].cursor; + wm_state->wm[level].cursor; break; case DRM_PLANE_TYPE_PRIMARY: for (level = 0; level < wm_state->num_levels; level++)