diff options
author | Eric Huang <jinhuieric.huang@amd.com> | 2023-01-09 14:16:42 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-10 18:04:38 -0500 |
commit | 8ce1d255147a2ccfa41884e36ec0b95bdb0d523a (patch) | |
tree | 9aaaa6b0cf8da54ad44c641b480ffc10599cc9eb /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c | |
parent | 9d086e0ddaeb08876f4df3a1485166bfd7483252 (diff) |
drm/amdkfd: Add sync after creating vram bo
There will be data corruption on vram allocated by svm
if the initialization is not complete and application is
writting on the memory. Adding sync to wait for the
initialization completion is to resolve this issue.
Signed-off-by: Eric Huang <jinhuieric.huang@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_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions