[Intel-gfx] [RFC 4/7] drm/i915: move and rename i915_runtime_pm
Chris Wilson
chris at chris-wilson.co.uk
Thu May 16 22:42:47 UTC 2019
Quoting Chris Wilson (2019-05-16 23:10:10)
> Quoting Chris Wilson (2019-05-16 23:07:43)
> > Quoting Daniele Ceraolo Spurio (2019-05-16 22:56:31)
> > > diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.h b/drivers/gpu/drm/i915/intel_runtime_pm.h
> > > index b964ca7af9c8..0e3817f9785e 100644
> > > --- a/drivers/gpu/drm/i915/intel_runtime_pm.h
> > > +++ b/drivers/gpu/drm/i915/intel_runtime_pm.h
> > > @@ -6,6 +6,7 @@
> > > #ifndef __INTEL_RUNTIME_PM_H__
> > > #define __INTEL_RUNTIME_PM_H__
> > >
> > > +#include <linux/device.h>
> >
> > There doesn't seem to be any peeking into struct device, so do we not
> > just need the struct device forward decl here?
>
> And add it to Makefile.headers_test
Hint: we may need to split out intel_display_power.[ch]
-Chris
More information about the Intel-gfx
mailing list