Skip to content
Commit def40774 authored by Xinyun Liu's avatar Xinyun Liu Committed by Zhenyu Wang
Browse files

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: default avatarXinyun Liu <xinyun.liu@intel.com>
Signed-off-by: default avatarYakui Zhao <Yakui.Zhao@intel.com>
Signed-off-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
parent 5e7154ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment