diff options
author | Xiangliang Yu <Xiangliang.Yu@amd.com> | 2017-04-21 03:40:25 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-04-28 17:32:58 -0400 |
commit | 904cd3891dd390b109c8146974b47fca78b97c98 (patch) | |
tree | 83881d9b0b0111324e8bba36a4863a2d8c127c36 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
parent | a92f5ec0c1341466bbfe98e1abc3cf5427ba4a67 (diff) |
drm/amdgpu/virt: add two functions for MM table
Add two functions to allocate & free MM table memory.
Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h index 1ee0a190b33b..a8ed162cc0bc 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |||
@@ -98,5 +98,7 @@ int amdgpu_virt_request_full_gpu(struct amdgpu_device *adev, bool init); | |||
98 | int amdgpu_virt_release_full_gpu(struct amdgpu_device *adev, bool init); | 98 | int amdgpu_virt_release_full_gpu(struct amdgpu_device *adev, bool init); |
99 | int amdgpu_virt_reset_gpu(struct amdgpu_device *adev); | 99 | int amdgpu_virt_reset_gpu(struct amdgpu_device *adev); |
100 | int amdgpu_sriov_gpu_reset(struct amdgpu_device *adev, bool voluntary); | 100 | int amdgpu_sriov_gpu_reset(struct amdgpu_device *adev, bool voluntary); |
101 | int amdgpu_virt_alloc_mm_table(struct amdgpu_device *adev); | ||
102 | void amdgpu_virt_free_mm_table(struct amdgpu_device *adev); | ||
101 | 103 | ||
102 | #endif | 104 | #endif |