Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix vulkan app can't display on iGPU in VM
In VM if run vulkan on iGPU, i915_dev->has_fence_reg is 0, so DRM_IOCTL_I915_GEM_SET_TILING and DRM_IOCTL_I915_GEM_GET_TILING will never be invoked. Meanwhile if on dg2, i915_dev->has_fence_reg also is 0. So the flag 'i915_dev->has_fence_reg' can't be using to check if invoke GET_TILING,SET_TILING. Consider if run vulkan app not on dg2, should invoke GET_TILING,SET_TILING. Tracked-On: OAM-113503 Signed-off-by: Li, HaihongX <haihongx.li@intel.com>
- Loading branch information