diff options
author | Huang Rui <ray.huang@amd.com> | 2020-01-14 11:55:22 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-04-28 22:20:29 +0200 |
commit | 562366c9452c534242a55a47c6431ab1e9b6b07c (patch) | |
tree | 091d7cf9a7d3a736aecdb859338702089aa40af4 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | drm/amdgpu: move CS secure flag next the structs where it's used (diff) | |
download | linux-562366c9452c534242a55a47c6431ab1e9b6b07c.tar.xz linux-562366c9452c534242a55a47c6431ab1e9b6b07c.zip |
drm/amdgpu: remove the alignment placeholder for secure buffer
The alignment should match the page size for secure buffer, so we didn't
configure it anymore.
Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@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_gem.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c index 26220ee87291..dffc32cde02b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c @@ -268,10 +268,6 @@ int amdgpu_gem_create_ioctl(struct drm_device *dev, void *data, resv = vm->root.base.bo->tbo.base.resv; } - if (flags & AMDGPU_GEM_CREATE_ENCRYPTED) { - /* XXX: pad out alignment to meet TMZ requirements */ - } - r = amdgpu_gem_object_create(adev, size, args->in.alignment, (u32)(0xffffffff & args->in.domains), flags, ttm_bo_type_device, resv, &gobj); |