diff options
author | Tvrtko Ursulin <[email protected]> | 2020-12-14 09:43:49 +0000 |
---|---|---|
committer | Tvrtko Ursulin <[email protected]> | 2020-12-14 12:55:51 +0000 |
commit | c41ce8199dfebe3b3a12e8e4e4a988f9907ff4da (patch) | |
tree | 833a5c6f95f3f7c38bc5046613fd95c40c59c220 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c51c29fb35f76a2616694079725fb2cf001de1de (diff) |
drm/i915/pmu: Remove !CONFIG_PM code
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 <[email protected]>
References: 16ffe73c186b ("drm/i915/pmu: Use GT parked for estimating RC6 while asleep")
Reported-by: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions