diff options
author | Ralph Campbell <rcampbell@nvidia.com> | 2020-03-04 03:13:37 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2020-04-07 07:37:49 +0300 |
commit | 822cab6150d3002952407a8297ff5a0d32bb7b54 (patch) | |
tree | 44a2cf84efff5405d84335be93bde96c24d8d0a8 /lib/mpi/mpiutil.c | |
parent | b92103b559c77abc5f8b7bec269230a219c880b7 (diff) | |
download | linux-822cab6150d3002952407a8297ff5a0d32bb7b54.tar.xz |
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>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions