[Intel-gfx] [PATCH] drm/i915: Unpin vma->obj on early error

2019-12-15 Thread Chris Wilson
If we inherit an error along the fence chain, we skip the main work callback and go straight to the error. In the case of the vma bind worker, we only dropped the pinned pages from the worker. In the process, make sure we call the release earlier rather than wait until the final reference to the f

[Intel-gfx] [PATCH] drm/i915: Unpin vma->obj on early error

2019-12-15 Thread Chris Wilson
If we inherit an error along the fence chain, we skip the main work callback and go straight to the error. In the case of the vma bind worker, we only dropped the pinned pages from the worker. In the process, make sure we call the release earlier rather than wait until the final reference to the f

[Intel-gfx] [PATCH] drm/i915: Unpin vma->obj on early error

2019-12-14 Thread Chris Wilson
If we inherit an error along the fence chain, we skip the main work callback and go straight to the error. In the case of the vma bind worker, we only dropped the pinned pages from the worker. In the process, make sure we call the release earlier rather than wait until the final reference to the f

[Intel-gfx] [PATCH] drm/i915: Unpin vma->obj on early error

2019-12-14 Thread Chris Wilson
If we inherit an error along the fence chain, we skip the main work callback and go straight to the error. In the case of the vma bind worker, we only dropped the pinned pages from the worker. In the process, make sure we call the release earlier rather than wait until the final reference to the f