linux_dsm_epyc7002/drivers/gpu/drm/nouveau/nvkm
Thierry Reding e5ffa727e5 drm/nouveau/imem/gk20a: Turn instmem lock into mutex
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 Kconfig option is enabled. Fix this
by using a mutex instead.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Alexandre Courbot <acourbot@nvidia.com>
Tested-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2017-04-06 14:39:03 +10:00
..
core Merge branch 'linux-4.12' of git://github.com/skeggsb/linux into drm-next 2017-03-08 12:54:58 +10:00
engine drm/nouveau: initial support (display-only) for GP107 2017-04-06 14:38:38 +10:00
falcon drm/nouveau/secboot: fix NULL pointer dereference 2017-03-17 12:06:58 +10:00
subdev drm/nouveau/imem/gk20a: Turn instmem lock into mutex 2017-04-06 14:39:03 +10:00
Kbuild drm/nouveau/core: add falcon library functions 2017-02-17 15:14:30 +10:00