summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
authorChris Wilson2013-08-27 18:04:17 +0200
committerDaniel Vetter2013-09-08 21:59:13 +0200
commitfd4daa9cea025ddf8623db289e79d264e9fa66f6 (patch)
tree0c97b55970bc964b16e3d32327e513ce6249f9f3 /drivers/gpu/drm/i915/intel_drv.h
parentdrm/i915: Delay disabling of VGA memory until vgacon->fbcon handoff is done (diff)
downloadkernel-qcow2-linux-fd4daa9cea025ddf8623db289e79d264e9fa66f6.tar.gz
kernel-qcow2-linux-fd4daa9cea025ddf8623db289e79d264e9fa66f6.tar.xz
kernel-qcow2-linux-fd4daa9cea025ddf8623db289e79d264e9fa66f6.zip
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 <yangweix.shui@intel.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68251 Tested-by: shui yanwei <yangweix.shui@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index a47799e832c6..28cae80495e2 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -280,6 +280,7 @@ struct intel_crtc_config {
struct {
u32 pos;
u32 size;
+ bool enabled;
} pch_pfit;
/* FDI configuration, only valid if has_pch_encoder is set. */