summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_arcturus.h
blob: 756c1a5679c08cc3b6732fbf6e5198db691ffa0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * Copyright 2020 Advanced Micro Devices, Inc.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 * OTHER DEALINGS IN THE SOFTWARE.
 */

int kgd_arcturus_hqd_sdma_load(struct amdgpu_device *adev, void *mqd,
			     uint32_t __user *wptr, struct mm_struct *mm);
int kgd_arcturus_hqd_sdma_dump(struct amdgpu_device *adev,
			     uint32_t engine_id, uint32_t queue_id,
			     uint32_t (**dump)[2], uint32_t *n_regs);
bool kgd_arcturus_hqd_sdma_is_occupied(struct amdgpu_device *adev,
				void *mqd);
int kgd_arcturus_hqd_sdma_destroy(struct amdgpu_device *adev, void *mqd,
				unsigned int utimeout);
ro/kernel/commit/kernel/dma/debug.c?h=linux-6.6.y&id=985098a05eee6bf5caca7e997e02a5b15242cfa0'>docs: fix references for DMA*.txt filesMauro Carvalho Chehab 2020-04-20dma-debug: make __dma_entry_alloc_check_leak() staticJason Yan 2020-04-08dma-debug: fix displaying of dma allocation typeGrygorii Strashko 2019-11-28Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torval...Linus Torvalds 2019-11-20dma-debug: clean up put_hash_bucket()Dan Carpenter 2019-11-11dma-debug: increase HASH_SIZEEric Dumazet 2019-11-11dma-debug: reorder struct dma_debug_entry fieldsEric Dumazet 2019-10-30dma-debug: add a schedule point in debug_dma_dump_mappings()Eric Dumazet 2019-10-18dma-debug: Use pr_warn instead of pr_warningKefeng Wang 2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333Thomas Gleixner 2019-04-29dma/debug: Simplify stracktrace retrievalThomas Gleixner 2019-04-11dma-debug: only skip one stackframe entryScott Wood 2019-02-01dma-debug: add dumping facility via debugfsCorentin Labbe 2019-02-01dma: debug: no need to check return value of debugfs_create functionsGreg Kroah-Hartman 2019-01-04dma-mapping: remove a few unused exportsChristoph Hellwig 2019-01-04dma-mapping: implement dma_map_single_attrs using dma_map_page_attrsChristoph Hellwig 2018-12-13dma-mapping: simplify the dma_sync_single_range_for_{cpu,device} implementationChristoph Hellwig 2018-12-11dma-debug: Batch dma_debug_entry allocationRobin Murphy 2018-12-11dma/debug: Remove dma_debug_resize_entries()Robin Murphy 2018-12-11dma-debug: Make leak-like behaviour apparentRobin Murphy 2018-12-11dma-debug: Dynamically expand the dma_debug_entry poolRobin Murphy 2018-12-11dma-debug: Use pr_fmt()Robin Murphy 2018-12-11dma-debug: Expose nr_total_entries in debugfsRobin Murphy 2018-10-08dma-debug: Check for drivers mapping invalid addresses in dma_map_single()Stephen Boyd 2018-06-14dma-mapping: move all DMA mapping code to kernel/dmaChristoph Hellwig