diff options
author | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-10-19 13:54:06 +0800 |
---|---|---|
committer | Zhi Wang <zhi.a.wang@intel.com> | 2017-10-27 01:37:13 +0800 |
commit | 8f63fc2bc64716c16e269ab951130eeda78fe37a (patch) | |
tree | 00e99c32ef565e405c22d01d53b25201a9eed18f /drivers/gpu/drm/i915/gvt/reg.h | |
parent | 7277f755048da562eb2489becacd38d0d05e1e06 (diff) | |
download | op-kernel-dev-8f63fc2bc64716c16e269ab951130eeda78fe37a.zip op-kernel-dev-8f63fc2bc64716c16e269ab951130eeda78fe37a.tar.gz |
drm/i915/gvt: properly check per_ctx bb valid state
Need to check valid state for per_ctx bb and bypass batch buffer
combine for scan if necessary. Otherwise adding invalid MI batch
buffer start cmd for per_ctx bb will cause scan failure, which is
taken as -EFAULT now so vGPU would be put in failsafe. This trys
to fix that by checking per_ctx bb valid state. Also remove old
invalid WARNING that indirect ctx bb shouldn't depend on valid
per_ctx bb.
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/reg.h')
0 files changed, 0 insertions, 0 deletions