Commit Graph

13501 Commits

Author SHA1 Message Date
Evgeny ecfc347ede include directory fix
Change-Id: Ie260f607a1c5f5e3e40375a8adeffefd9fb28ec4


[ROCm/rocprofiler commit: c096c31a2c]
2018-04-11 00:07:54 -05:00
Hari Thangirala 3e0cd85d69 Allow HSA_ENABLE_SDMA to override runtime defaults.
Change-Id: I2305304228010157bfb589c365f4a998577231cd
2018-04-10 12:56:48 -04:00
Konstantin Zhuravlyov 7ef70f7eaa Bring naming on par with the spec (hsa-runtime)
Change-Id: Ie1903c90a195cf95b186eb5552131a20af408adf
2018-04-10 09:15:02 -04:00
Evgeny cf11e49e2a rocprofiler-dev package
Change-Id: I80c4f6fd0619f4985516be66dedd2945abcdf9af
2018-04-09 09:05:56 -05:00
Evgeny a9869caa8b rocprofiler-dev package
Change-Id: I80c4f6fd0619f4985516be66dedd2945abcdf9af


[ROCm/rocprofiler commit: cf11e49e2a]
2018-04-09 09:05:56 -05:00
Chris Freehill 0d9e71a63a Revert "Re-enable rocm-smi with new c api"
This reverts commit 2e81d33395.

Change-Id: I9866610597a6de97a3c06ef9646f0afc85f149f4
2018-04-07 19:59:13 -04:00
Chris Freehill 2e81d33395 Re-enable rocm-smi with new c api
Change-Id: Idf393f31522bac8ac0c3c03a930ef66d97ce5fa2
2018-04-07 18:55:30 -04:00
Ramesh Errabolu f25d59cab2 Compute size of command buffer based on support for HDP Flush
Change-Id: I4987a262c191a91cd845fe18002c314a95a9ed8c
2018-04-07 13:36:09 -04:00
Sean Keely 7caf9633f6 Support large scratch allocations and reclaim.
Also improve small_heap used for scratch region allocation.

Change-Id: Ib7311b663b38968d88ebc355b81e12c0863dc541
2018-04-05 21:51:56 -04:00
Evgeny f5d6d78a21 make clean fix 2018-04-05 18:45:20 -05:00
Evgeny c1cb775e7c make clean fix
[ROCm/rocprofiler commit: f5d6d78a21]
2018-04-05 18:45:20 -05:00
Evgeny e4384c2c51 loading of config rpl_rc.xml file; range format [N], [N:], [N:M] 2018-04-05 18:03:05 -05:00
Evgeny 7b30d4bf87 loading of config rpl_rc.xml file; range format [N], [N:], [N:M]
[ROCm/rocprofiler commit: e4384c2c51]
2018-04-05 18:03:05 -05:00
Evgeny ee5bc95019 SQTT memory checks 2018-04-04 12:14:29 -05:00
Evgeny f1a5ba7386 SQTT memory checks
[ROCm/rocprofiler commit: ee5bc95019]
2018-04-04 12:14:29 -05:00
Jay Cornwall df964343a3 Support new first-level trap handler ABI
- Ignore exceptions passed to the second-level handler
- Restore SQ_WAVE_IB_STS and SQ_WAVE_STATUS before exiting trap

Change-Id: I872c111c030d94eae644ae073df3c2e508f42f45
2018-04-04 11:01:14 -05:00
Sean Keely b6f0248f53 Respect new memory model requirements at queue destroy.
Spec requires GPU release fences and CPU acquire fences at queue destroy.
Also update the recognized status codes.

Change-Id: If9166f5149f65417c7057ff7c0f69f6ac094d6ab
2018-04-04 08:13:00 -04:00
Sean Keely 6df9ba97ce Sequence queue error callbacks with queue destroy.
HSA v1.2 update.

Change-Id: I13975e71b2c1ea5b7738236f5d02df84312ad00c
2018-04-04 08:12:58 -04:00
Konstantin Zhuravlyov c93584e725 ROCRTST: Add missing hidden arguments
Change-Id: Idd5d58749f4dd740c96299c40e87d83840b6fb2b
2018-04-02 18:19:24 -04:00
Ramesh Errabolu 987f3f97aa Enable sDMA packet HDP Flush on Gfx9 and later devices
Change-Id: I85922e5266883ef7e9eed3565e2c3b209009d294
2018-04-02 11:47:59 -04:00
Shaoyun Liu aa28484583 Thunk: Add gfx904 support on libthunk
Change-Id: I78bc623f6b86293e2bf9fbe00a646d152faafdc4
Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com>
2018-03-29 18:21:02 -04:00
Evgeny 5d0a73af17 replacing throw with abort in Context destructor 2018-03-29 15:28:59 -05:00
Evgeny 3c98242e09 replacing throw with abort in Context destructor
[ROCm/rocprofiler commit: 5d0a73af17]
2018-03-29 15:28:59 -05:00
Evgeny 5524c7b7ba adding kernel name truncating till the base name for sqtt files labeling and results; verbose mode 2018-03-27 16:44:58 -05:00
Evgeny 602df3d47f adding kernel name truncating till the base name for sqtt files labeling and results; verbose mode
[ROCm/rocprofiler commit: 5524c7b7ba]
2018-03-27 16:44:58 -05:00
Konstantin Zhuravlyov e4c6a3ae28 Convert old target names to old new target names.
Change-Id: I701651d74f353e234556e4bf5d50d63c598e5f15
2018-03-26 11:59:13 -04:00
JamesAdrian Edwards 974ad106e3 Merge "Add libhsakmt.so to link command for ctrl executable." into amd-master 2018-03-23 17:00:43 -04:00
JamesAdrian Edwards 6aa3765c53 Merge "Add libhsakmt.so to link command for ctrl executable." into amd-master
[ROCm/rocprofiler commit: 974ad106e3]
2018-03-23 17:00:43 -04:00
James Edwards ff14f63090 Add libhsakmt.so to link command for ctrl executable.
Change-Id: I3ca4c8a0a2a080a9a790ab455152b2d308a0de3f
2018-03-23 10:19:01 -05:00
James Edwards f0298ce7b2 Add libhsakmt.so to link command for ctrl executable.
Change-Id: I3ca4c8a0a2a080a9a790ab455152b2d308a0de3f


[ROCm/rocprofiler commit: ff14f63090]
2018-03-23 10:19:01 -05:00
Evgeny ef761725b4 sqtt size setting, ctx limit, heartbeat
Change-Id: I98de62e950b9201d03a9ca82cee9e2bbc2666e63
2018-03-23 03:19:05 -05:00
Evgeny 3de4327541 sqtt size setting, ctx limit, heartbeat
Change-Id: I98de62e950b9201d03a9ca82cee9e2bbc2666e63


[ROCm/rocprofiler commit: ef761725b4]
2018-03-23 03:19:05 -05:00
Evgeny f0dc77195d wait list final waiting
Change-Id: I2270dfa803875e480703cd1b87f175c3d762ed2c
2018-03-21 22:15:47 -05:00
Evgeny dcf4c41ad4 wait list final waiting
Change-Id: I2270dfa803875e480703cd1b87f175c3d762ed2c


[ROCm/rocprofiler commit: f0dc77195d]
2018-03-21 22:15:47 -05:00
Evgeny aea5d8e0d9 context array valid bit reverted
Change-Id: Ibbbf19ffd2e66750d7296d2b45850c21bb86445a
2018-03-21 21:11:42 -05:00
Evgeny ade8a8c868 context array valid bit reverted
Change-Id: Ibbbf19ffd2e66750d7296d2b45850c21bb86445a


[ROCm/rocprofiler commit: aea5d8e0d9]
2018-03-21 21:11:42 -05:00
Sean Keely cd46954cc4 Cleanup in blit kernel management code.
Remove unused function (FenceRelease), add comments to barrier packet settings,
correct profiling controls to work with queue wrappers.

Change-Id: I45bb26227bcc2b78edb8ad5dc497603c33234e18
2018-03-20 22:19:54 -04:00
Sean Keely f4521ce782 Revert "Reduce to only one internal compute queue."
This reverts commit 0eb534e3cf.

Change-Id: Ifcc5e148457243a6cf9ef277da7ab7c4e10f6fc9
2018-03-20 22:19:44 -04:00
Wilkin 8e3d26c617 ROCm Runtime Support for respecting target xnack setting
This includes the changes provided by Konstantin, "Add xnack from elf header" (Change 136389).

Change-Id: I95e51141caa0d7c21903b09212c02e4906ec54a3
2018-03-20 16:57:15 -04:00
Felix Kuehling 8ac2150e81 Let KFD use VM from DRM render node
Move opening of DRM render nodes from topology to FMM aperture
initialization. Keep the same FDs open for the life time of the
process to match how KFD uses the VMs in the FDs. Call acquire_vm
ioctl during aperture initialization to let KFD use the VMs from
the render nodes.

Change-Id: Ie07d57788cbe685b1841cccc00820c12894a0356
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2018-03-20 15:42:45 -04:00
Philip Yang 1bf93d4e89 Export microcode version of sDMA
Change-Id: I86fa5da5e72af13a2e76e6e3be4667a7220923d5
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
2018-03-19 08:38:50 -04:00
Evgeny 6c4078f9fc wait_list dump fix
Change-Id: Iebe92b7151080a6a10a5dade82526b2429d518a6
2018-03-18 17:15:35 -05:00
Evgeny 6a3a1f1906 wait_list dump fix
Change-Id: Iebe92b7151080a6a10a5dade82526b2429d518a6


[ROCm/rocprofiler commit: 6c4078f9fc]
2018-03-18 17:15:35 -05:00
Evgeny cc3146ba81 tool: adding wait list
Change-Id: I6f161ddc9aef953b62e52004bd081327d34a9470
2018-03-18 04:04:34 -05:00
Evgeny 21b81917a6 tool: adding wait list
Change-Id: I6f161ddc9aef953b62e52004bd081327d34a9470


[ROCm/rocprofiler commit: cc3146ba81]
2018-03-18 04:04:34 -05:00
Evgeny caa15d7186 dispatch vs profiling packets signals race fixed
Change-Id: I7f250d01f3d45f3f8ec2539b2187ab99503850aa
2018-03-16 10:34:44 -05:00
Evgeny 6e4240aef7 dispatch vs profiling packets signals race fixed
Change-Id: I7f250d01f3d45f3f8ec2539b2187ab99503850aa


[ROCm/rocprofiler commit: caa15d7186]
2018-03-16 10:34:44 -05:00
Konstantin Zhuravlyov b7915e9248 Bring loader in sync with stg sc.
Change-Id: Ib4d9231ca61048557acdad8eb8f632688c4aadd8
2018-03-12 15:00:50 -04:00
Felix Kuehling 19dacdecd3 Update kfd_ioctl.h from kernel
This adds new acquire_vm ioctl.

Change-Id: Ia6794bfd291706cecdb2d06f4902b324b48577df
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2018-03-09 16:36:52 -05:00
Felix Kuehling 85e1a9bf5e Rework SVM aperture initialization
Query GPUVM aperture limits of all dGPUs to determine SVM aperture
base and limit. This depends on a recent KFD change that reports
the GPUVM apurture limits for dGPUs in the
AMDKFD_IOC_GET_PROCESS_APERTURES_NEW ioctl (drm/amdkfd: Simplify
dGPU SVM aperture handling).

Only initialize SVM aperture once, instead of once per GPU.

Don't call AMDKFD_IOC_SET_PROCESS_DGPU_APERTURE. It's not needed any
more and will not be upstreamed.

Change-Id: Ib3389e8ba18505ba15fc33f45fe8a57e690a565d
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
2018-03-09 16:36:49 -05:00