drm/i915/bdw: Restore PPAT on thaw
authorBen Widawsky <benjamin.widawsky@intel.com>
Tue, 18 Mar 2014 23:09:37 +0000 (16:09 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 19 Mar 2014 08:44:48 +0000 (09:44 +0100)
commita2319c08bfd849ea32b4f890ce92df86074c5731
tree4a97d04c4ffad52cf4ac1c8c04062bcc73734b3b
parent9297ebf29ad9118edd6c0fedc84f03e35028827d
drm/i915/bdw: Restore PPAT on thaw

Apparently it is wiped out from under us, and we get some really fun
caching artifacts upon resume (it seems to be WB for all types by
default).

Reported-by: James Ausmus <james.ausmus@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Tested-by: James Ausmus <james.ausmus@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76113
Tested-by: Timo Aaltonen <timo.aaltonen@canonical.com>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c