diff options
| author | Tejun Heo <[email protected]> | 2024-07-14 18:04:03 -1000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2024-07-14 18:04:03 -1000 |
| commit | 9283ff5be1510a35356656a6c1efe14f765c936a (patch) | |
| tree | 2c04ca4f99eca4f25faa98849ddb67b124a74110 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | 226c49446bccee1c2315bc88bbbca7e6542e98fc (diff) | |
| parent | 57b56d16800e8961278ecff0dc755d46c4575092 (diff) | |
Merge branch 'for-6.10-fixes' into for-6.11
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c index 67c234bcf89f..3adaa4670103 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c @@ -108,6 +108,7 @@ int amdgpu_gem_object_create(struct amdgpu_device *adev, unsigned long size, memset(&bp, 0, sizeof(bp)); *obj = NULL; + flags |= AMDGPU_GEM_CREATE_VRAM_WIPE_ON_RELEASE; bp.size = size; bp.byte_align = alignment; |