Signed-off-by: Oak Zeng <Oak.Zeng@amd.com> Reviewed-by: Christian Konig <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
···259259 * @offset: offset into the GPU's gart aperture260260 * @pages: number of pages to bind261261 * @dma_addr: DMA addresses of pages262262+ * @flags: page table entry flags263263+ * @dst: CPU address of the gart table262264 *263265 * Map the dma_addresses into GART entries (all asics).264266 * Returns 0 for success, -EINVAL for failure.
+1
drivers/gpu/drm/amd/amdgpu/amdgpu_gart.h
···41414242struct amdgpu_gart {4343 struct amdgpu_bo *bo;4444+ /* CPU kmapped address of gart table */4445 void *ptr;4546 unsigned num_gpu_pages;4647 unsigned num_cpu_pages;