From: Chris Wilson Date: Tue, 27 Aug 2013 16:04:17 +0000 (+0100) Subject: drm/i915: Track pfit enable state separately from size X-Git-Tag: v3.12-rc2~3^2~2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd4daa9cea025ddf8623db289e79d264e9fa66f6;p=pandora-kernel.git drm/i915: Track pfit enable state separately from size Detangle the additional state of whether or not the hw has the pfit enabled from whether it has zero size. This allows us to cleanly distinguish in the code when we expect the pfit to be enabled (for Haswell pc8), and when the BIOS is confused and needs sanitizing. Reported-by: shui yanwei Signed-off-by: Chris Wilson Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68251 Tested-by: shui yanwei Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed