[Intel-gfx] [PATCH 2/9] drm/i915: Factor out helpers to get/put a set of tracked power domains

Chris Wilson chris at chris-wilson.co.uk
Mon Nov 30 21:48:28 UTC 2020


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 at chris-wilson.co.uk>
> Signed-off-by: Imre Deak <imre.deak at intel.com>

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>

> 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


More information about the Intel-gfx mailing list