diff options
author | Philip Yang <Philip.Yang@amd.com> | 2021-09-17 21:32:14 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-09-23 23:34:49 +0300 |
commit | 586d71a42725dbc67cbb15f9904c65d99a757b0f (patch) | |
tree | 9b14e5fe284e6fe0e62bb4b0f63465ad198d82d4 /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 640ae42efb828be69a9ee6ac88fb3d5a3e678ddf (diff) | |
download | linux-586d71a42725dbc67cbb15f9904c65d99a757b0f.tar.xz |
drm/amdkfd: handle svm migrate init error
If svm migration init failed to create pgmap for device memory, set
pgmap type to 0 to disable device SVM support capability.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions