Re: [PATCH 2/2] drm/i915: Allow disabling error capture

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 13, 2016 at 12:16:03PM +0300, Jani Nikula wrote:
> On Tue, 11 Oct 2016, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> 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
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux