From: Damien Lespiau Date: Mon, 24 Jun 2013 15:22:02 +0000 (+0100) Subject: drm/i915: Fix reason for per-chip disabling of FBC X-Git-Tag: v3.12-rc1~136^2~165^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a5729a37375c20a196e14ce49b4390d42bdb87b;p=pandora-kernel.git drm/i915: Fix reason for per-chip disabling of FBC When running on my snb machine, recent kernels display successively: [drm:intel_update_fbc], fbc set to per-chip default [drm:intel_update_fbc], fbc disabled per module param But no module param is set. This happens because the check for the module parameter uses a variable that has been overridden inside the "per-chip default" code. Fix up the logic and add another reason for the FBC to the be disabled. Signed-off-by: Damien Lespiau Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed