summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/gvt/execlist.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-11-03 12:30:12 +0100
committerIngo Molnar <mingo@kernel.org>2017-11-03 12:30:12 +0100
commit294cbd05e32990c3b1a62be27441fc719edebbab (patch)
tree9e543bcfdaa183343f18714a256d3fd5c88d3b5c /drivers/gpu/drm/i915/gvt/execlist.c
parentbe96b316deff35e119760982c43af74e606fa143 (diff)
parent5cb0512c02ecd7e6214e912e4c150f4219ac78e0 (diff)
downloadblackbird-op-linux-294cbd05e32990c3b1a62be27441fc719edebbab.tar.gz
blackbird-op-linux-294cbd05e32990c3b1a62be27441fc719edebbab.zip
Merge branch 'linus' into perf/urgent, to pick up dependent commits
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/execlist.c')
-rw-r--r--drivers/gpu/drm/i915/gvt/execlist.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/gvt/execlist.c b/drivers/gpu/drm/i915/gvt/execlist.c
index 91b4300f3b39..e5320b4eb698 100644
--- a/drivers/gpu/drm/i915/gvt/execlist.c
+++ b/drivers/gpu/drm/i915/gvt/execlist.c
@@ -701,8 +701,7 @@ static int submit_context(struct intel_vgpu *vgpu, int ring_id,
CACHELINE_BYTES;
workload->wa_ctx.per_ctx.guest_gma =
per_ctx & PER_CTX_ADDR_MASK;
-
- WARN_ON(workload->wa_ctx.indirect_ctx.size && !(per_ctx & 0x1));
+ workload->wa_ctx.per_ctx.valid = per_ctx & 1;
}
if (emulate_schedule_in)
OpenPOWER on IntegriCloud