drm/i915: Allow full PPGTT with param override
authorBen Widawsky <benjamin.widawsky@linux.intel.com>
Tue, 25 Mar 2014 01:06:00 +0000 (18:06 -0700)
committerJani Nikula <jani.nikula@intel.com>
Thu, 24 Apr 2014 10:34:58 +0000 (13:34 +0300)
commit0f9dc59db6abc475dc23afc077fabbc606b8830f
treec69053f25444b8743f5de08dddd054ca267051e3
parentedd586fe705e819bc711b5ed7194a0b6f9f1a7e1
drm/i915: Allow full PPGTT with param override

When PPGTT was disabled by default, the patch also prevented the user
from overriding this behavior via module parameter. Being able to test
this on arbitrary kernels is extremely beneficial to track down the
remaining bugs. The patch that prevented this was:

commit 93a25a9e2d67765c3092bfaac9b855d95e39df97
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Thu Mar 6 09:40:43 2014 +0100

    drm/i915: Disable full ppgtt by default

By default PPGTT is set to -1. 0 means off, 1 means aliasing only, 2
means full, all other values are reserved.

Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_gem_gtt.c