[Intel-gfx] [PATCH] drm/i915: debugfs interface to read module parameters
Daniel Vetter
daniel at ffwll.ch
Fri Jan 23 07:40:46 PST 2015
On Fri, Jan 23, 2015 at 02:35:20PM +0200, Ville Syrjälä wrote:
> On Fri, Jan 23, 2015 at 12:25:26PM +0000, Dave Gordon wrote:
> > It can be useful to know what the driver's parameters have ended up set
> > to after sanitisation, so this commit adds a debugfs function to print
> > the current values of all the module parameters.
>
> What's wrong with eg. 'grep . /sys/module/i915/parameters/*' ?
btw you can also set them through that interface at runtime if the
paramter is rw. Really handy for debugging.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list