drm/i915: Inline feature detection into sanitize_enable_ppgtt
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 19 Sep 2014 10:56:27 +0000 (11:56 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Sep 2014 15:58:42 +0000 (17:58 +0200)
commit1893a71b1eba79a46ac5b356208e80f822543fa4
tree51b93ccbc1e74cd936d5bba6f9212ac485bec277
parent00caf0199f66871b0e2c28d7c2079de0ce1d646c
drm/i915: Inline feature detection into sanitize_enable_ppgtt

Rather than splitting and hiding away critical parts of
sanitize_enable_ppgtt() into single use macros in the headers, inline
them into the function for clarity.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_gtt.c