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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux