diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2019-02-19 17:21:48 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2019-02-20 09:00:01 +1000 |
commit | bfe91afaca59251fbf5d62143fdd8f740b551302 (patch) | |
tree | b1eca40f08c2e79b0befc90168688214fae95f19 /include | |
parent | a261a20c0177fa08886cf7941791aaabe48d065d (diff) | |
download | linux-bfe91afaca59251fbf5d62143fdd8f740b551302.tar.bz2 |
drm/nouveau: prepare for enabling svm with existing userspace interfaces
For a channel to make use of SVM features, it requires a different GPU MMU
configuration than we would normally use, which is not desirable to switch
to unless a client is actively going to use SVM.
In order to supporting SVM without more extensive changes to the userspace
interfaces, the SVM_INIT ioctl needs to replace the previous configuration
safely.
The only way we can currently do this safely, accounting for some unlikely
failure conditions, is to allocate the new VMM without destroying the last
one, and prioritising the SVM-enabled configuration in the code that cares.
This will get cleaned up again further down the track.
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions