commit | b6b6fbc8310e1b12b05717da9df6953b138f812b | [log] [tgz] |
---|---|---|
author | Chuanxiao Dong <chuanxiao.dong@intel.com> | Wed Mar 01 14:34:52 2017 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Wed Mar 01 15:59:36 2017 +0800 |
tree | 1d9e899529710989c79f0ec3dfc2917b9f25d2cc | |
parent | 858b0f571d30916bd69c45922045f24f26d6bfc9 [diff] |
drm/i915/gvt: use pfn_valid for better checking Before get the page from pfn, use pfn_valid to check if pfn is able to translate to page structure. Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>