summaryrefslogtreecommitdiff
path: root/amdgpu
diff options
context:
space:
mode:
authorJammy Zhou <Jammy.Zhou@amd.com>2015-06-06 05:02:23 +0800
committerAlex Deucher <alexander.deucher@amd.com>2015-08-05 13:47:51 -0400
commit7bbc1debafcc04f459b36f718c893f1142909df4 (patch)
treec338fc91c20f77a7e05a3be5678c5a0143ab1ab6 /amdgpu
parent657245f7a3394063e3b25e86e314d2cf001f97d2 (diff)
amdgpu: cleanup gds specific alloc/free functions
amdgpu_bo_alloc/free can be used with GDS/OA/QWS domains specified Signed-off-by: Jammy Zhou <Jammy.Zhou@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'amdgpu')
-rw-r--r--amdgpu/amdgpu.h60
1 files changed, 0 insertions, 60 deletions
diff --git a/amdgpu/amdgpu.h b/amdgpu/amdgpu.h
index 44b9d17f..c4c0cd44 100644
--- a/amdgpu/amdgpu.h
+++ b/amdgpu/amdgpu.h
@@ -251,28 +251,6 @@ struct amdgpu_gds_resource_info {
uint32_t oa_per_compute_partition;
};
-
-
-/**
- * Structure describing result of request to allocate GDS
- *
- * \sa amdgpu_gpu_resource_gds_alloc
- *
-*/
-struct amdgpu_gds_alloc_info {
- /** Handle assigned to gds allocation */
- amdgpu_bo_handle resource_handle;
-
- /** How much was really allocated */
- uint32_t gds_memory_size;
-
- /** Number of GWS resources allocated */
- uint32_t gws;
-
- /** Number of OA resources allocated */
- uint32_t oa;
-};
-
/**
* Structure describing IB
*
@@ -781,44 +759,6 @@ int amdgpu_query_gds_info(amdgpu_device_handle dev,
struct amdgpu_gds_resource_info *gds_info);
-/**
- * Allocate GDS partitions
- *
- * \param dev - \c [in] Device handle. See #amdgpu_device_initialize()
- * \param gds_size - \c [in] Size of gds allocation. Must be aligned
- * accordingly.
- * \param alloc_info - \c [out] Pointer to structure to receive information
- * about allocation
- *
- * \return 0 on success\n
- * >0 - AMD specific error code\n
- * <0 - Negative POSIX Error code
- *
- *
-*/
-int amdgpu_gpu_resource_gds_alloc(amdgpu_device_handle dev,
- uint32_t gds_size,
- struct amdgpu_gds_alloc_info *alloc_info);
-
-
-
-
-/**
- * Release GDS resource. When GDS and associated resources not needed any
- * more UMD should free them
- *
- * \param dev - \c [in] Device handle. See #amdgpu_device_initialize()
- * \param handle - \c [in] Handle assigned to GDS allocation
- *
- * \return 0 on success\n
- * >0 - AMD specific error code\n
- * <0 - Negative POSIX Error code
- *
-*/
-int amdgpu_gpu_resource_gds_free(amdgpu_bo_handle handle);
-
-
-
/*
* GPU Execution context
*