[Intel-gfx] [PATCH v2 1/3] drm/i915: Add i915 to i915_inject_probe_failure
Chris Wilson
chris at chris-wilson.co.uk
Wed Jul 31 19:17:04 UTC 2019
Quoting Michal Wajdeczko (2019-07-31 18:48:31)
> With i915 added to i915_inject_probe_failure we can use dedicated
> printk when injecting artificial load failure.
>
> Also make this function look like other i915 functions that return
> error code and make it more flexible to return any provided error
> code instead of previously assumed -ENODEV.
>
> Signed-off-by: Michal Wajdeczko <michal.wajdeczko at intel.com>
> Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
(would like to store i915 in drv_set_drvdata and provide a pdev_to_i915
before adding another to_i915(pci_get_drvdata) :)
-Chris
More information about the Intel-gfx
mailing list