diff options
| author | Rex Zhu <[email protected]> | 2018-10-16 08:27:53 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-11-05 19:21:48 +0000 |
| commit | 20bedfe0c13a2e221301e3c889b2a4c48374f78a (patch) | |
| tree | f694c81c714fdc9c48c75025aae207157f0b76d5 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amdgpu: fix gfx wptr for sdma v4 (diff) | |
| download | kernel-20bedfe0c13a2e221301e3c889b2a4c48374f78a.tar.gz kernel-20bedfe0c13a2e221301e3c889b2a4c48374f78a.zip | |
drm/amdgpu: Remove useless csa gpu address in vmid0
driver didn't use this address so far.
Reviewed-by: Monk Liu <[email protected]>
Signed-off-by: Rex Zhu <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c index f2f358aa0597..9ff16b790c92 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c @@ -48,7 +48,7 @@ int amdgpu_allocate_static_csa(struct amdgpu_device *adev) r = amdgpu_bo_create_kernel(adev, AMDGPU_CSA_SIZE, PAGE_SIZE, AMDGPU_GEM_DOMAIN_VRAM, &adev->virt.csa_obj, - &adev->virt.csa_vmid0_addr, &ptr); + NULL, &ptr); if (r) return r; @@ -58,7 +58,7 @@ int amdgpu_allocate_static_csa(struct amdgpu_device *adev) void amdgpu_free_static_csa(struct amdgpu_device *adev) { amdgpu_bo_free_kernel(&adev->virt.csa_obj, - &adev->virt.csa_vmid0_addr, + NULL, NULL); } |
