Merge tag 'drm-intel-fixes-2021-07-15' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
Two regression fixes targeting stable: - Fix -EDEADLK handling regression (Ville) - Drop the page table optimisation (Matt) Signed-off-by: Dave Airlie <airlied@redhat.com> From: Rodrigo Vivi <rodrigo.vivi@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/YPA8y1DSCp2EbtpC@intel.com
This commit is contained in:
@@ -303,10 +303,7 @@ static void __gen8_ppgtt_alloc(struct i915_address_space * const vm,
|
||||
__i915_gem_object_pin_pages(pt->base);
|
||||
i915_gem_object_make_unshrinkable(pt->base);
|
||||
|
||||
if (lvl ||
|
||||
gen8_pt_count(*start, end) < I915_PDES ||
|
||||
intel_vgpu_active(vm->i915))
|
||||
fill_px(pt, vm->scratch[lvl]->encode);
|
||||
fill_px(pt, vm->scratch[lvl]->encode);
|
||||
|
||||
spin_lock(&pd->lock);
|
||||
if (likely(!pd->entry[idx])) {
|
||||
|
||||
@@ -348,7 +348,7 @@ static struct i915_fence_reg *fence_find(struct i915_ggtt *ggtt)
|
||||
if (intel_has_pending_fb_unpin(ggtt->vm.i915))
|
||||
return ERR_PTR(-EAGAIN);
|
||||
|
||||
return ERR_PTR(-EDEADLK);
|
||||
return ERR_PTR(-ENOBUFS);
|
||||
}
|
||||
|
||||
int __i915_vma_pin_fence(struct i915_vma *vma)
|
||||
|
||||
Reference in New Issue
Block a user