diff options
author | Xinyun Liu <xinyun.liu@intel.com> | 2018-10-29 14:18:25 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2018-11-12 17:05:39 +0800 |
commit | def40774f63ad446aaf5c12e2185045979c06c75 (patch) | |
tree | cbe8b7f6cec5023f90d376e9035a8d49a5dd6176 /drivers/gpu/drm/i915/gvt/aperture_gm.c | |
parent | drm/i915/gvt: Handle values of EDP_PSR_IMR and EDP_PSR_IIR (diff) | |
download | linux-dev-def40774f63ad446aaf5c12e2185045979c06c75.tar.xz linux-dev-def40774f63ad446aaf5c12e2185045979c06c75.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/aperture_gm.c')
0 files changed, 0 insertions, 0 deletions