diff options
author | 2017-01-30 21:03:07 +0100 | |
---|---|---|
committer | 2017-04-06 14:39:03 +1000 | |
commit | e5ffa727e5330478d9f074521dbf195c8593ed9f (patch) | |
tree | 859f4ebba33ce624533bcaa1b2b59aefe14b602b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/nouveau: initial support (display-only) for GP107 (diff) | |
download | linux-rng-e5ffa727e5330478d9f074521dbf195c8593ed9f.tar.xz linux-rng-e5ffa727e5330478d9f074521dbf195c8593ed9f.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions