[Intel-gfx] [PATCH v3 08/12] drm/i915: Name structure in dev_priv that contains RPS/RC6 state as "gt_pm"

Chris Wilson chris at chris-wilson.co.uk
Sat Oct 7 08:26:35 UTC 2017


Quoting Sagar Arun Kamble (2017-10-07 08:07:31)
> Prepared substructure rps for RPS related state. autoenable_work is
> used for RC6 too hence it is defined outside rps structure. As we do
> this lot many functions are refactored to use intel_rps *rps to access
> rps related members. Hence renamed intel_rps_client pointer variables
> to rps_client in various functions.
> 
> v2: Rebase.
> 
> v3: s/pm/gt_pm (Chris)
> Refactored access to rps structure by declaring struct intel_rps * in
> many functions.

Nice touch.
 
> Signed-off-by: Sagar Arun Kamble <sagar.a.kamble at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
> Cc: Imre Deak <imre.deak at intel.com>
> Cc: Joonas Lahtinen <joonas.lahtinen at linux.intel.com>
> Reviewed-by: Radoslaw Szwichtenberg <radoslaw.szwichtenberg at intel.com> #1
> Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk> #2
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list