diff options
author | Paulo Zanoni <paulo.r.zanoni@intel.com> | 2014-02-21 13:52:24 -0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-03-05 21:30:17 +0100 |
commit | 86c4ec0d32762cff8c49daf10fd83bceb4fbec0e (patch) | |
tree | 68a3865e18887d7c92b4544b038aff185d054d9e /tools/perf/scripts/python/syscall-counts.py | |
parent | 36623ef8375e1040ed72f36c1e62371f1c14ceb4 (diff) |
drm/i915: kill dev_priv->pc8.gpu_idle
Since the addition of dev_priv->mm.busy, there's no more need for
dev_priv->pc8.gpu_idle, so kill it.
Notice that when you remove gpu_idle, hsw_package_c8_gpu_idle and
hsw_package_c8_gpu_busy become identical to hsw_enable_package_c8 and
hsw_disable_package_c8, so just use them.
Also, when we boot the machine, dev_priv->mm.busy initially considers
the machine as idle. This is opposed to dev_priv->pc8.gpu_idle, which
considered it busy. So dev_priv->pc8.disable_count has to be
initalized to 1 now.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions