summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2020-05-05 21:02:43 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-05-06 23:51:29 +0300
commitfd9a9f8801def3908960312e46bb92126add6b66 (patch)
tree7b2688e21c65025782588331d53faa31c2307dae /tools/perf/scripts/python
parent1cba0987610a1508358d1a3704fdb9c98b3be0ba (diff)
downloadlinux-fd9a9f8801def3908960312e46bb92126add6b66.tar.xz
drm/amdgpu: Use GEM obj reference for KFD BOs
Releasing the AMDGPU BO ref directly leads to problems when BOs were exported as DMA bufs. Releasing the GEM reference makes sure that the AMDGPU/TTM BO is not freed too early. Also take a GEM reference when importing BOs from DMABufs to keep references to imported BOs balances properly. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Tested-by: Alex Sierra <alex.sierra@amd.com> Acked-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Sierra <alex.sierra@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions