From: Paulo Zanoni Date: Fri, 13 Feb 2015 19:23:47 +0000 (-0200) Subject: drm/i915: don't reallocate the compressed FB at every frame X-Git-Tag: omap-for-v4.2/o2_dc~72^2~33^2~43 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb0a08c1ed7daa16d13876e3e1b8787d95b25b0e;p=pandora-kernel.git drm/i915: don't reallocate the compressed FB at every frame With the current code we just reallocate the compressed FB at every FBC update: we have X in one frame, then in the other frame we need X again, but we check "needed < have" instead of "needed <= have". v2: Rebase after Jani addressed the other problems described in v1. Cc: Jani Nikula Signed-off-by: Paulo Zanoni Reviewed-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed