commit | 1884734a03904d23137a075c9b64cd9871af1914 | [log] [tgz] |
---|---|---|
author | pding <Pixel.Ding@amd.com> | Mon Nov 06 10:21:26 2017 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Dec 04 16:41:44 2017 -0500 |
tree | a9b04ee783df1bf0563c515a4869c56e3b799e06 | |
parent | 40575732b6a2ad6430ad8056dabe4cdc01224534 [diff] |
drm/amdkfd: initialise kfd inside amdgpu_device_init Also finalize kfd inside amdgpu_device_fini. kfd device_init needs SRIOV exclusive accessing. Try to gather exclusive accessing to reduce time consuming. Signed-off-by: pding <Pixel.Ding@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>