]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gtt: Revert "Disable read-only support under GVT"
authorHang Yuan <hang.yuan@linux.intel.com>
Tue, 30 Oct 2018 07:08:01 +0000 (15:08 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 31 Oct 2018 08:37:45 +0000 (08:37 +0000)
commitae3893d3e3573ebb0ece2a9a9fbc5e44f48e3776
treef1e4fb8f87406ad05111d1a233d456fb9618489c
parent7003d2e9667e1710b85c30707942dce330aa0740
drm/i915/gtt: Revert "Disable read-only support under GVT"

This reverts commit 53992a744f416bffcc8dac35cabd92e0f1bea5c6.

Checked GVT codes that guest PPGTT PTE flag bits are propagated
to shadow PTE. Read/write bit is not changed. Further tested by
i915 self-test case "igt_ctx_readonly". No error or GPU hang was
detected. So enable read-only support under GVT.

Signed-off-by: Hang Yuan <hang.yuan@linux.intel.com>
Acked-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1540883281-11359-1-git-send-email-hang.yuan@linux.intel.com
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_gem_gtt.c