diff options
author | Christian König <christian.koenig@amd.com> | 2016-10-27 20:04:38 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-03-29 23:55:28 -0400 |
commit | f566ceb165f8f3bf0e7492a3a8d5eefed9e499a6 (patch) | |
tree | 3e73754ea4169809bb1434f20015986bdfafd5d7 /drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c | |
parent | 4e2cb640c2efbf86058cffd2785307690ebefe20 (diff) |
drm/amdgpu: add alloc/free for multi level PDs V2
Allocate and free page directories on demand.
V2:
a. clear entries allocation
b. fix entries index calculation
c. need alloc sub level even parent bo was allocated
Signed-off-by: Christian König <christian.koenig@amd.com> (v1)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com> (v1)
Signed-off-by: Chunming Zhou <David1.Zhou@amd.com> (v2)
Acked-by: Alex Deucher <alexander.deucher@amd.com> (v2)
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c')
0 files changed, 0 insertions, 0 deletions