search for: 5d85b7aa

Displaying 2 results from an estimated 2 matches for "5d85b7aa".

2017 Feb 23
0
[PATCH] drm/nouveau: gk20a: Turn instmem lock into mutex
...1MB of CPU-mapped instmem */ > -- > 2.11.0 > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170223/5d85b7aa/attachment.sig>
2017 Jan 30
2
[PATCH] drm/nouveau: gk20a: Turn instmem lock into mutex
From: Thierry Reding <treding at nvidia.com> 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