[PATCH 3/3] drm/i915/pmu: Remove !CONFIG_PM code

Chris Wilson chris at chris-wilson.co.uk
Fri Dec 11 15:40:27 UTC 2020


Quoting Tvrtko Ursulin (2020-12-11 15:31:10)
> From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> 
> Chris spotted that since 16ffe73c186b ("drm/i915/pmu: Use GT parked for
> estimating RC6 while asleep") we don't rely on runtime pm internals when
> estimating RC6 while asleep. We can remove the ifdef code to simplify and
> at the same time wake up the device less when querying RC6 if CONFIG_PM is
> not compiled in.
> 
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
> References: 16ffe73c186b ("drm/i915/pmu: Use GT parked for estimating RC6 while asleep")
> Reported-by: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx-trybot mailing list