Quoting Imre Deak (2020-11-30 21:21:53) > Factor out helper functions to get/put a set of power domains that are > tracked using their wakeref handles. The same is needed by the next > patch adding tracking for enabled CRTC power domains. > > Cc: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > Signed-off-by: Imre Deak <imre.deak@xxxxxxxxx> Reviewed-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> > diff --git a/drivers/gpu/drm/i915/display/intel_display_power.h b/drivers/gpu/drm/i915/display/intel_display_power.h > index 4aa0a09cf14f..64f4d57ff09b 100644 > --- a/drivers/gpu/drm/i915/display/intel_display_power.h > +++ b/drivers/gpu/drm/i915/display/intel_display_power.h > @@ -224,6 +224,13 @@ struct i915_power_domains { > struct i915_power_well *power_wells; > }; > > +struct intel_display_power_domain_set { > + uint64_t mask; u64 mask -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx