[Intel-xe] [PATCH v2 11/11] drm/xe: Use relative includes for i915_reg_defs.h

Lucas De Marchi lucas.demarchi at intel.com
Fri Feb 17 16:33:13 UTC 2023


On Thu, Feb 16, 2023 at 04:52:26PM -0800, Lucas De Marchi wrote:
>With the goal of eliminating i915 includes from xe outside of the
>display area, it's better to use relative includes for the only shared
>header, i915_reg_defs.h.  With this the build system can be changed to
>stop adding i915 as an include dir.
>
>Signed-off-by: Lucas De Marchi <lucas.demarchi at intel.com>

+Rodrigo

I know I've previously suggested changing the other way around and avoid
the relative include. However with this cleanup we are very close to
remove the -I for i915. So I think we can first remove the -I and then
decide what to do with the single include that we still want.

Lucas De Marchi


More information about the Intel-xe mailing list