OSDN Git Service

drm/i915: Remove 'prefault_disable' modparam
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 24 Jan 2020 23:06:56 +0000 (23:06 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 27 Jan 2020 11:45:35 +0000 (11:45 +0000)
commit34ffabe311cc4267dbb955d38b87905621c144b2
tree2860e193f0e0627db69e377a74555f504362d2c3
parent7e36505d0cf82f2920f2fd22ebb14a8b540396a3
drm/i915: Remove 'prefault_disable' modparam

The 'prefault_disable' modparam was used by IGT to prevent a few
prefaulting operations to make fault handling under struct_mutex more
prominent. With the removal of struct_mutex, this is not as important
any more and we have almost completely stopped using the parameter. The
remaining use in execbuf is now immaterial and can be dropped without
affecting coverage.

We must re-address the idea of fault injection though.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Antonio Argenziano <antonio.argenziano@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200124230656.687503-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c
drivers/gpu/drm/i915/i915_params.c
drivers/gpu/drm/i915/i915_params.h