diff options
author | Dave Airlie <airlied@redhat.com> | 2021-11-11 08:14:02 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2021-11-11 08:14:19 +1000 |
commit | f8ca7b74192b2e64bdfb89fb63c1d33b92bc899d (patch) | |
tree | 1fcf742adb2cefef5b018d5a4753c1e6f6d611da /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 917a6f0bdbc55c2e9770ab523768578db8e8ddb3 (diff) | |
parent | bcae3af286f49bf4f6cda03f165fbe530f4a6bed (diff) | |
download | linux-f8ca7b74192b2e64bdfb89fb63c1d33b92bc899d.tar.gz linux-f8ca7b74192b2e64bdfb89fb63c1d33b92bc899d.tar.bz2 linux-f8ca7b74192b2e64bdfb89fb63c1d33b92bc899d.zip |
Merge tag 'drm-misc-next-fixes-2021-11-10' of git://anongit.freedesktop.org/drm/drm-misc into drm-next
Removed the TTM Huge Page functionnality to address a crash, a timeout
fix for udl, CONFIG_FB dependency improvements, a fix for a circular
locking depency in imx, a NULL pointer dereference fix for virtio, and a
naming collision fix for drm/locking.
Signed-off-by: Dave Airlie <airlied@redhat.com>
From: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20211110082114.vfpkpnecwdfg27lk@gilmour
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c index a573424a6e0b..a1e63ba4c54a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c @@ -60,9 +60,10 @@ static vm_fault_t amdgpu_gem_fault(struct vm_fault *vmf) goto unlock; } - ret = ttm_bo_vm_fault_reserved(vmf, vmf->vma->vm_page_prot, - TTM_BO_VM_NUM_PREFAULT, 1); - drm_dev_exit(idx); + ret = ttm_bo_vm_fault_reserved(vmf, vmf->vma->vm_page_prot, + TTM_BO_VM_NUM_PREFAULT); + + drm_dev_exit(idx); } else { ret = ttm_bo_vm_dummy_page(vmf, vmf->vma->vm_page_prot); } |