File: amd_cp_dma.h

package info (click to toggle)
intel-gpu-tools 2.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 64,504 kB
  • sloc: xml: 781,458; ansic: 378,272; python: 8,407; yacc: 2,781; perl: 1,196; sh: 1,177; lex: 487; asm: 227; lisp: 35; makefile: 30
file content (24 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: MIT
 * Copyright 2023 Advanced Micro Devices, Inc.
 *
 */

#ifndef __AMD_CP_DMA_H__
#define __AMD_CP_DMA_H__

int
amdgpu_cp_dma_generic(amdgpu_device_handle device_handle,
				amdgpu_device_handle exporting_device_handle,
				unsigned int ip_type,
				uint32_t src_heap, uint32_t dst_heap);

bool
amdgpu_cp_dma_misc_is_supported(const struct amdgpu_gpu_info *gpu_info);

bool
amdgpu_cp_dma_misc_p2p_is_supported(const struct amdgpu_gpu_info *gpu_info);

bool
asic_is_gfx_pipe_removed(const struct amdgpu_gpu_info *gpu_info);

#endif