drm/i915: Setup less PPGTT on failed page_directory
authorBen Widawsky <benjamin.widawsky@intel.com>
Thu, 22 Jan 2015 17:01:25 +0000 (17:01 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Feb 2015 22:28:12 +0000 (23:28 +0100)
commitc8c26622ae508f9f7e6be3e99b45ccae4d07efca
tree8f618082830693982b21698ddeb03dbca8e3c95c
parent766436004bde5855dcf9975bff2bcd606bd908ab
drm/i915: Setup less PPGTT on failed page_directory

The current code will both potentially print a WARN, and setup part of
the PPGTT structure. Neither of these harm the current code, it is
simply for clarity, and to perhaps prevent later bugs, or weird
debug messages.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c