[Intel-gfx] [PATCH v5 1/1] drm/i915/pxp: Promote pxp subsystem to top-level of i915

Teres Alexis, Alan Previn alan.previn.teres.alexis at intel.com
Thu Dec 1 23:45:37 UTC 2022


> >  struct intel_pxp {
> > +	/** @i915: back poiner to i915*/
> > +	struct drm_i915_private *i915;
> 
> do you really need this pointer back here?
> or using a container_of should be enough?

I realize i can drop the i915 backptr as i can use pxp->ctrl_gt->i915.


More information about the Intel-gfx mailing list