commit | def40774f63ad446aaf5c12e2185045979c06c75 | [log] [tgz] |
---|---|---|
author | Xinyun Liu <xinyun.liu@intel.com> | Mon Oct 29 14:18:25 2018 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Mon Nov 12 17:05:39 2018 +0800 |
tree | cbe8b7f6cec5023f90d376e9035a8d49a5dd6176 | |
parent | 5e7154ff5e8e21dc9acac4f8dba7533552365374 [diff] |
drm/i915/gvt: not to touch undefined MOCS registers Some engines are not available for all Gens. eg, Gen11 introduced VCS3/VCS4/VECS2, and VCS2 is not supported on some Gen9 machines. So need to add check before access them. Signed-off-by: Xinyun Liu <xinyun.liu@intel.com> Signed-off-by: Yakui Zhao <Yakui.Zhao@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>