commit | 822cab6150d3002952407a8297ff5a0d32bb7b54 | [log] [tgz] |
---|---|---|
author | Ralph Campbell <rcampbell@nvidia.com> | Tue Mar 03 16:13:37 2020 -0800 |
committer | Ben Skeggs <bskeggs@redhat.com> | Tue Apr 07 14:37:49 2020 +1000 |
tree | 44a2cf84efff5405d84335be93bde96c24d8d0a8 | |
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 <rcampbell@nvidia.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>