[PATCH] drm/i915: Don't enable hwmon for selftests
Dixit, Ashutosh
ashutosh.dixit at intel.com
Wed Apr 10 06:06:58 UTC 2024
On Tue, 09 Apr 2024 22:17:38 -0700, Nilawar, Badal wrote:
>
> > +#if IS_ENABLED(CONFIG_DRM_I915_SELFTEST)
> > + return i915_selftest.live || i915_selftest.perf || i915_selftest.mock;
> > +#else
> > + return false;
> > +#endif
> > +}
> I think you moved this function here as this is only used in
> i915_hwmon.c. In case if somewhere else this function is needed then I
> suggest to move this function to i915_selftest.h as inline function.
Thanks, done in v3.
More information about the Intel-gfx
mailing list