Re: [Nouveau] [PATCH] drm/nouveau: gk20a: Turn instmem lock into mutex

2017-02-24 Thread Ben Skeggs
On 02/24/2017 05:25 PM, Alexandre Courbot wrote: > On 02/24/2017 01:20 AM, Thierry Reding wrote: >> * PGP Signed by an unknown key >> >> On Mon, Jan 30, 2017 at 09:03:07PM +0100, Thierry Reding wrote: >>> From: Thierry Reding >>> >>> The gk20a implementation of instance memory

Re: [Nouveau] [PATCH] drm/nouveau: gk20a: Turn instmem lock into mutex

2017-02-23 Thread Alexandre Courbot
On 02/24/2017 01:20 AM, Thierry Reding wrote: * PGP Signed by an unknown key On Mon, Jan 30, 2017 at 09:03:07PM +0100, Thierry Reding wrote: From: Thierry Reding The gk20a implementation of instance memory uses vmap()/vunmap() to map memory regions into the kernel's

Re: [Nouveau] [PATCH] drm/nouveau: gk20a: Turn instmem lock into mutex

2017-02-23 Thread Thierry Reding
On Mon, Jan 30, 2017 at 09:03:07PM +0100, Thierry Reding wrote: > From: Thierry Reding > > The gk20a implementation of instance memory uses vmap()/vunmap() to map > memory regions into the kernel's virtual address space. These functions > may sleep, so protecting them by a

[Nouveau] [PATCH] drm/nouveau: gk20a: Turn instmem lock into mutex

2017-01-30 Thread Thierry Reding
From: Thierry Reding The gk20a implementation of instance memory uses vmap()/vunmap() to map memory regions into the kernel's virtual address space. These functions may sleep, so protecting them by a spin lock is not safe. This triggers a warning if the DEBUG_ATOMIC_SLEEP