diff options
| author | Ralph Campbell <[email protected]> | 2020-03-03 16:13:37 -0800 |
|---|---|---|
| committer | Ben Skeggs <[email protected]> | 2020-04-07 14:37:49 +1000 |
| commit | 822cab6150d3002952407a8297ff5a0d32bb7b54 (patch) | |
| tree | 44a2cf84efff5405d84335be93bde96c24d8d0a8 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | b92103b559c77abc5f8b7bec269230a219c880b7 (diff) | |
drm/nouveau/svm: check for SVM initialized before migrating
When migrating system memory to GPU memory, check that SVM has been
enabled. Even though most errors can be ignored since migration is
a performance optimization, return an error because this is a violation
of the API.
Signed-off-by: Ralph Campbell <[email protected]>
Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions