[RESEND 1/6] drm/i915/gvt: always pass struct intel_display * to register macros

Luca Coelho luca at coelho.fi
Fri Dec 13 08:57:49 UTC 2024


On Wed, 2024-11-20 at 14:03 +0200, Jani Nikula wrote:
> The long term goal is to remove the __to_intel_display() generics from
> display macros, such as register macros. This requires that all such
> macro usage passes struct intel_display * rather than struct
> drm_i915_private * to the macros.
> 
> The short term goal is to hide the struct drm_i915_private access in
> intel_display_conversions.h into a function. This is problematic with
> gvt, because it's a separate module, and the conversion function would
> need to be exported.
> 
> Make the conversion to always passing struct intel_display * in gvt to
> unblock both of the above.
> 
> Signed-off-by: Jani Nikula <jani.nikula at intel.com>
> ---

Reviewed-by: Luca Coelho <luciano.coelho at intel.com>

--
Cheers,
Luca.


More information about the Intel-xe mailing list