diff options
| author | Christian König <[email protected]> | 2024-06-05 14:26:22 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-09-18 20:15:09 +0000 |
| commit | 54b86443fd4437c051aefd3f462cfff4defd420c (patch) | |
| tree | 044378f39b3dd135558c44d618efdeea2a718947 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amdgpu: Fix XCP instance mask calculation (diff) | |
| download | kernel-54b86443fd4437c051aefd3f462cfff4defd420c.tar.gz kernel-54b86443fd4437c051aefd3f462cfff4defd420c.zip | |
drm/amdgpu: explicitely set the AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS flag
Instead of having that in the amdgpu_bo_pin() function applied for all
pinned BOs.
Signed-off-by: Christian König <[email protected]>
Acked-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c index a987f671b1d5..d62df3b5a014 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c @@ -942,7 +942,6 @@ error: */ int amdgpu_bo_pin(struct amdgpu_bo *bo, u32 domain) { - bo->flags |= AMDGPU_GEM_CREATE_VRAM_CONTIGUOUS; return amdgpu_bo_pin_restricted(bo, domain, 0, 0); } |
