On Tue, Aug 06, 2019 at 07:05:41PM +0300, Christoph Hellwig wrote:
We'll need the nouveau_svmm structure to improve the function soon. For now this allows using the svmm->mm reference to unlock the mmap_sem, and thus the same dereference chain that the caller uses to lock and unlock it.
Signed-off-by: Christoph Hellwig hch@lst.de
drivers/gpu/drm/nouveau/nouveau_svm.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
Reviewed-by: Jason Gunthorpe jgg@mellanox.com
Jason
dri-devel@lists.freedesktop.org