On Wed, 2024-11-20 at 14:03 +0200, Jani Nikula wrote:
> Add to_intel_uncore() function to avoid the inclusion of i915_drv.h from
> intel_de.h. This reveals a number of implicit dependencies on i915_drv.h
> that need to be added.
> 
> For now, to_intel_uncore() can be an inline function, with all the
> includes in compat intel_uncore.h, as long as i915_drv.h isn't
> included. The implicit dependencies on i915_drv.h is a problem in
> display code, but the same is not true for xe_device.h etc.
> 
> Signed-off-by: Jani Nikula <[email protected]>
> ---

Reviewed-by: Luca Coelho <[email protected]>

--
Cheers,
Luca.

Reply via email to