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@xxxxxxxxx> > --- Reviewed-by: Luca Coelho <luciano.coelho@xxxxxxxxx> -- Cheers, Luca.