*
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
*
* result e.g. of drmOpen() call.
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \sa amdgpu_device_initialize()
* information about allocated memory
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \sa amdgpu_bo_free()
* \param info - \c [in] Metadata to associated with buffer
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*/
int amdgpu_bo_set_metadata(amdgpu_bo_handle buf_handle,
* \param info - \c [out] Structure describing buffer
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \sa amdgpu_bo_set_metadata(), amdgpu_bo_alloc()
* \param shared_handle - \c [out] Special "shared" handle
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \sa amdgpu_bo_import()
* about imported buffer
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \note Buffer must be "imported" only using new "fd" (different from
* resource on submission and be used in other operations.
*
*
- * \return 0 on success
- * >0 - AMD specific error code
- * <0 - Negative POSIX Error code
+ * \return 0 on success\n
+ * <0 - Negative POSIX Error code
*
* \note
* This call doesn't guarantee that such memory will be persistently
* \param buf_handle - \c [in] Buffer handle to free
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \note In the case of memory shared between different applications all
* \param cpu - \c [out] CPU address to be used for access
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \sa amdgpu_bo_cpu_unmap()
* \param buf_handle - \c [in] Buffer handle
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \sa amdgpu_bo_cpu_map()
* 1 GPU access is in fly or scheduled
*
* \return 0 - on success
- * >0 - AMD specific error code
* <0 - Negative POSIX Error code
*/
int amdgpu_bo_wait_for_idle(amdgpu_bo_handle buf_handle,
* \param result - \c [out] Created BO list handle
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \sa amdgpu_bo_list_destroy()
* \param handle - \c [in] BO list handle.
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \sa amdgpu_bo_list_create()
* \param resource_prios - \c [in] Optional priority for each handle
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \sa amdgpu_bo_list_update()
* \param context - \c [out] GPU Context handle
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \sa amdgpu_cs_ctx_free()
* \param context - \c [in] GPU Context handle
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \sa amdgpu_cs_ctx_create()
* \param hangs - \c [out] Number of hangs caused by the context.
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \sa amdgpu_cs_ctx_create()
* submission request
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \note It is required to pass correct resource list with buffer handles
* !0 - otherwise
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
* \note If UMD wants only to check operation status and returned immediately
* requirements
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
*/
* \param feature - \c [out] Pointer to to the "feature" return value
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
*/
* \param count - \c [out] Pointer to structure to get information
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*/
int amdgpu_query_hw_ip_count(amdgpu_device_handle dev, unsigned type,
* \param info - \c [out] Pointer to structure to get information
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*/
int amdgpu_query_hw_ip_info(amdgpu_device_handle dev, unsigned type,
* \param info - \c [in] Pointer to structure to get needed information
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
*/
* \param result - \c [in] Pointer to the CRTC ID
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
*/
* \param info - \c [in] Pointer to structure to get needed information
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
*/
* \param value - \c [out] Pointer to the return value.
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX error code
*
*/
* \param gds_info - \c [out] Pointer to structure to get GDS information
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX Error code
*
*/
* \param values - \c [out] The pointer to return values.
*
* \return 0 on success\n
- * >0 - AMD specific error code\n
* <0 - Negative POSIX error code
*
*/