diff options
author | Chuanxiao Dong <chuanxiao.dong@intel.com> | 2017-06-02 15:34:23 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-06-08 13:59:18 +0800 |
commit | 9b7bd65ecdf347b33c37d73b610fd85774b12e87 (patch) | |
tree | 91cf7e6617b027c2f1eae2d1f571bc35fb683457 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 89009b7746fa66634061a7e76f881b7ea344d26d (diff) |
drm/i915/gvt: Add runtime_pm get/put to proctect MMIO accessing
In some cases, GVT-g is accessing MMIO without holding runtime_pm
and this patch can add the inline API for doing the runtime_pm get/put
to make sure when accessing HW MMIO the i915 HW is really powered on.
Suggested-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions