drm/i915: Make PTE valid encoding optional
authorBen Widawsky <benjamin.widawsky@intel.com>
Wed, 16 Oct 2013 16:18:21 +0000 (09:18 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 18 Oct 2013 13:40:21 +0000 (15:40 +0200)
commitb35b380ed46bb01726bec1795e6443e625306757
treef2b4868b97dc59e05699066ad06046f7e9186cbd
parentcd66407810869709e0d6764409137d48c6812cfc
drm/i915: Make PTE valid encoding optional

We need this to work around a corruption when the boot kernel image
loads the hibernated kernel image from swap on Haswell systems -
somehow not everything is properly shut off.

This is just the prep work, the next patch will implement the actual
workaround.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
[danvet: Add a commit message suitable for -fixes and add cc: stable]
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_gtt.c