drm/i915: Fix BDW PPGTT error path
authorBen Widawsky <benjamin.widawsky@intel.com>
Mon, 25 Nov 2013 17:54:32 +0000 (09:54 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Nov 2013 08:59:05 +0000 (09:59 +0100)
commitd595bd4bbd853106e3926176fa8a677963337d38
tree116545905aa61458da93b2b2476cedea650fa088
parentd629336b6af9ff214e9d1e7224946a000fc8f70f
drm/i915: Fix BDW PPGTT error path

When we fail for some reason on loading the PDPs, it would be wise to
disable the PPGTT in the ring registers. If we do not do this, we have
undefined results.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c