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/bin | |
| parent | drm/i915/gvt: remove redundant -Wall (diff) | |
| download | linux-9b7bd65ecdf347b33c37d73b610fd85774b12e87.tar.gz linux-9b7bd65ecdf347b33c37d73b610fd85774b12e87.zip | |
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/bin')
0 files changed, 0 insertions, 0 deletions
