diff options
Diffstat (limited to 'drivers/gpu/drm/i915/intel_engine_cs.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_engine_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_engine_cs.c b/drivers/gpu/drm/i915/intel_engine_cs.c index 734a789688da..67c4fc5d737c 100644 --- a/drivers/gpu/drm/i915/intel_engine_cs.c +++ b/drivers/gpu/drm/i915/intel_engine_cs.c | |||
@@ -513,7 +513,7 @@ int intel_engine_create_scratch(struct intel_engine_cs *engine, | |||
513 | goto err_unref; | 513 | goto err_unref; |
514 | } | 514 | } |
515 | 515 | ||
516 | ret = i915_vma_pin(vma, 0, 4096, PIN_GLOBAL | PIN_HIGH); | 516 | ret = i915_vma_pin(vma, 0, 0, PIN_GLOBAL | PIN_HIGH); |
517 | if (ret) | 517 | if (ret) |
518 | goto err_unref; | 518 | goto err_unref; |
519 | 519 | ||
@@ -586,7 +586,7 @@ static int init_status_page(struct intel_engine_cs *engine) | |||
586 | flags |= PIN_MAPPABLE; | 586 | flags |= PIN_MAPPABLE; |
587 | else | 587 | else |
588 | flags |= PIN_HIGH; | 588 | flags |= PIN_HIGH; |
589 | ret = i915_vma_pin(vma, 0, 4096, flags); | 589 | ret = i915_vma_pin(vma, 0, 0, flags); |
590 | if (ret) | 590 | if (ret) |
591 | goto err; | 591 | goto err; |
592 | 592 | ||