commit | d22a48bf7302ef064295749fa79cd47093c5a000 | [log] [tgz] |
---|---|---|
author | Changbin Du <changbin.du@intel.com> | Fri Jan 13 11:15:56 2017 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Fri Jan 13 15:05:38 2017 +0800 |
tree | 80c042727b1dac3f0758df1e5ca5adce08f8d35d | |
parent | 9631739f8196ec80b5d9bf955f79b711490c0205 [diff] |
drm/i915/gvt: introudce intel_vgpu_reset_resource() to reset vgpu resource state This patch introudces a new function intel_vgpu_reset_resource() to reset allocated vgpu resources by intel_vgpu_alloc_resource(). So far we only need clear the fence registers. The function _clear_vgpu_fence() will reset both virtual and physical fence registers to 0. Signed-off-by: Changbin Du <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>