commit | 9b7bd65ecdf347b33c37d73b610fd85774b12e87 | [log] [tgz] |
---|---|---|
author | Chuanxiao Dong <chuanxiao.dong@intel.com> | Fri Jun 02 15:34:23 2017 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Thu Jun 08 13:59:18 2017 +0800 |
tree | 91cf7e6617b027c2f1eae2d1f571bc35fb683457 | |
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>