[Intel-gfx] [PATCH 2/2] drm/i915: Allow disabling error capture
Chris Wilson
chris at chris-wilson.co.uk
Thu Oct 13 10:01:51 UTC 2016
On Thu, Oct 13, 2016 at 12:16:03PM +0300, Jani Nikula wrote:
> On Tue, 11 Oct 2016, Chris Wilson <chris at chris-wilson.co.uk> wrote:
> > +#if IS_ENABLED(CONFIG_DRM_I915_CAPTURE_ERROR)
> > {"i915_error_state", &i915_error_state_fops},
> > +#endif
>
> IGT tests/drm_lib.sh tests for existence of i915_error_state to find the
> debugfs path for i915. Perhaps not the cleverest thing to do, but I
> wonder if there are others who depend on the existence of that file.
Ugh. The general non-singleton code forms the path from the stat.st_rdev.
Something to work towards.
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx
mailing list