Re: [Intel-gfx] [PATCH 4/6] drm/i915: Treat an error from i915_vma_instance() as unlikely

2017-01-20 Thread Joonas Lahtinen
On to, 2017-01-19 at 19:26 +, Chris Wilson wrote: > When pinning into the global GTT, an error from creating the VMA is > unlikely, so mark it so. > > Signed-off-by: Chris Wilson   >   vma = i915_vma_instance(obj, vm, view); > - if (IS_ERR(vma)) > + if

[Intel-gfx] [PATCH 4/6] drm/i915: Treat an error from i915_vma_instance() as unlikely

2017-01-19 Thread Chris Wilson
When pinning into the global GTT, an error from creating the VMA is unlikely, so mark it so. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_gem.c