drm/i915: Add a fault injection point to WOPCM init
authorJakub Bartmiński <jakub.bartminski@intel.com>
Fri, 27 Jul 2018 14:11:47 +0000 (16:11 +0200)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 27 Jul 2018 15:07:45 +0000 (16:07 +0100)
commit905febf592f7280084ee853b05d7bd59e26c4ca0
tree04e6a0d7a371245d0db0eff1eebb6c641a8a90bd
parent496bcce3c9bf50ccf74b3050669600631cbf8138
drm/i915: Add a fault injection point to WOPCM init

Add a fault injection point in the WOPCM initialization path.

v4:
Move the injection inside the WOPCM init function.

Signed-off-by: Jakub Bartmiński <jakub.bartminski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180727141148.30874-5-jakub.bartminski@intel.com
drivers/gpu/drm/i915/intel_wopcm.c