drm/i915: add prefault_disable module option
authorXiong Zhang <xiong.y.zhang@intel.com>
Fri, 19 Jul 2013 05:51:24 +0000 (13:51 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 19 Jul 2013 07:29:26 +0000 (09:29 +0200)
commit0b74b508f78cea96d0d1b47e72cc0ec7959cdc68
tree2bfe889b7a72eb2d736c98e334e5a5025ca49203
parent6286ef9b56bfc5d4f3f06ef5488e41da4480dc85
drm/i915: add prefault_disable module option

prefault is stll enabled by default which prevent most of pwrite/pread/reloc
from running slow path, in order to verify these slow pathes, prefault need
to be disabled.

Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com>
[danvet: Make checkpatch happy and bikeshed the module option help
text a bit.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/i915_gem_execbuffer.c