summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorFrank Min <Frank.Min@amd.com>2024-04-10 15:13:25 +0200
committerAlex Deucher <alexander.deucher@amd.com>2024-04-26 23:22:38 +0200
commitea9238a81b3ab8dcec99b1322bab5a30043b320a (patch)
treeb7da6dc9d9b78dc8b3e81946792beb9406a5b174 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/amdgpu: init microcode chip name from ip versions (diff)
downloadlinux-ea9238a81b3ab8dcec99b1322bab5a30043b320a.tar.xz
linux-ea9238a81b3ab8dcec99b1322bab5a30043b320a.zip
drm/amdgpu: replace tmz flag into buffer flag
Replace tmz flag into buffer flag to make it easier to understand and extend Signed-off-by: Likun Gao <Likun.Gao@amd.com> Signed-off-by: Frank Min <Frank.Min@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
index 154624ca97f9..69513e34f97b 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
@@ -765,7 +765,7 @@ int amdgpu_bo_restore_shadow(struct amdgpu_bo *shadow, struct dma_fence **fence)
return amdgpu_copy_buffer(ring, shadow_addr, parent_addr,
amdgpu_bo_size(shadow), NULL, fence,
- true, false, false);
+ true, false, 0);
}
/**