aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorOded Gabbay <[email protected]>2014-10-26 20:45:45 +0200
committerOded Gabbay <[email protected]>2015-01-09 22:26:07 +0200
commite27ade73fd38055bd6b374ff86fcd02c0f22b3f3 (patch)
treed40d32e0b7bfa8a0f36787adf6f80fb2042b31fd /scripts/gdb/linux/utils.py
parentd7a60d8ea5cd4560e0496d2683643d2e4930e609 (diff)
drm/amd: Add new kfd-->kgd interface for gart usage
This patch adds two new functions to the kfd-->kgd interface: init_gtt_mem_allocation, which allocate a large enough buffer on the amdkfd needs, such as mqds, hpds, kernel queue, fence and runlists. This function is only called once per GPU device. The size of the allocated buffer is based on the maximum number of HSA processes and maximum number of queues per HSA process (two amdkfd kernel module parameters). free_gtt_mem, which frees a buffer that was allocated on the gart aperture. Signed-off-by: Oded Gabbay <[email protected]> Reviewed-by: Alexey Skidanov <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions