diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-15 10:49:04 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-15 11:01:11 +0100 |
commit | 48bb74e48bc2cd106d7ed7697377c08d149f2633 (patch) | |
tree | 0eb1b97010dbf1af04b7267570d9b8b7f30fdee9 /drivers/gpu/drm/i915/i915_gpu_error.c | |
parent | a5e85c8a4dca07f80647133f2e84cd4a6da98df6 (diff) | |
download | linux-48bb74e48bc2cd106d7ed7697377c08d149f2633.tar.bz2 |
drm/i915: Use VMA for wa_ctx tracking
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1471254551-25805-25-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gpu_error.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gpu_error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu_error.c index 4068630bfc68..5e7734ca4579 100644 --- a/drivers/gpu/drm/i915/i915_gpu_error.c +++ b/drivers/gpu/drm/i915/i915_gpu_error.c @@ -1134,7 +1134,7 @@ static void i915_gem_record_rings(struct drm_i915_private *dev_priv, engine->status_page.vma->obj); ee->wa_ctx = i915_error_ggtt_object_create(dev_priv, - engine->wa_ctx.obj); + engine->wa_ctx.vma->obj); count = 0; list_for_each_entry(request, &engine->request_list, link) |