From: Matt Roper Date: Fri, 27 Feb 2015 18:12:01 +0000 (-0800) Subject: drm/i915: Use plane->state->fb in watermark code (v2) X-Git-Tag: omap-for-v4.2/o2_dc~72^2~24^2~88 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59bea8822f2d2e038a84750576a002049ad30ce1;p=pandora-kernel.git drm/i915: Use plane->state->fb in watermark code (v2) plane->fb is a legacy pointer that not always be up-to-date (or updated early enough). Make sure the watermark code uses plane->state->fb so that we're always doing our calculations based on the correct framebuffers. This patch was generated by Coccinelle with the following semantic patch: @@ struct drm_plane *P; @@ - P->fb + P->state->fb v2: Rebase Signed-off-by: Matt Roper Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed