diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c index 2d2d6197c3dcc3128d22939b8c7b246f6f72f754..dd5a0cdd67bc0319be56fa3f0dba46b2c9993eb0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c @@ -1552,7 +1552,7 @@ static void amdgpu_vm_fragment(struct amdgpu_pte_update_params *params, max_frag = 31; /* system pages are non continuously */ - if (params->src || !(flags & AMDGPU_PTE_VALID)) { + if (params->src) { *frag = 0; *frag_end = end; return;