summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2023-01-06 09:32:32 +0800
committerAlex Deucher <alexander.deucher@amd.com>2023-01-09 17:02:18 -0500
commitb8743f5dcc9f3fb52f81f35994aca7827e9a5212 (patch)
tree0a388c4c77dbf477aa79ce2faef59cf9bfabdf8a /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parente045aec89d1b6cd677ec3e253d87f85d44b17559 (diff)
downloadlinux-stable-b8743f5dcc9f3fb52f81f35994aca7827e9a5212.tar.gz
linux-stable-b8743f5dcc9f3fb52f81f35994aca7827e9a5212.tar.bz2
linux-stable-b8743f5dcc9f3fb52f81f35994aca7827e9a5212.zip
drm/amdgpu: clean up some inconsistent indentings
drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c:65 amdgpu_gem_fault() warn: inconsistent indenting Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3639 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
index a0780a4e3e61..6936cd63df42 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
@@ -61,10 +61,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);
+ ret = ttm_bo_vm_fault_reserved(vmf, vmf->vma->vm_page_prot,
+ TTM_BO_VM_NUM_PREFAULT);
- drm_dev_exit(idx);
+ drm_dev_exit(idx);
} else {
ret = ttm_bo_vm_dummy_page(vmf, vmf->vma->vm_page_prot);
}