[PATCH 03/15] nouveau: pass struct nouveau_svmm to nouveau_range_fault

Jason Gunthorpe jgg at ziepe.ca
Tue Aug 6 18:02:48 UTC 2019


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 at lst.de>
> ---
>  drivers/gpu/drm/nouveau/nouveau_svm.c | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg at mellanox.com>

Jason


More information about the dri-devel mailing list