[Intel-gfx] [PATCH] drm/i915: significantly reduce the use of <drm/i915_drm.h>

Chris Wilson chris at chris-wilson.co.uk
Tue Feb 25 13:26:28 UTC 2020


Quoting Jani Nikula (2020-02-25 13:07:28)
> The #include has been splattered all over the place, but there are
> precious few places, all .c files, that actually need it.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>

Trust in the compiler,
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

The users of i915_drv.h that irk me the most are where we only want the
device_info/runtime_info. Might just bite the bullet and make those
pointers and so not have to traverse through i915.
-Chris


More information about the Intel-gfx mailing list