]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/nouveau/falcon: use vmalloc to create firwmare copies
authorIlia Mirkin <imirkin@alum.mit.edu>
Sat, 7 Dec 2013 16:42:19 +0000 (11:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 21:55:41 +0000 (13:55 -0800)
commitc81b99f67cc5046fd2429332e1a945594b62db8a
tree81cfd246478be63f15f9034a83e743ae1076eea2
parentefd5f1ffacaf08965f1fbabde74c6211f55200c9
drm/nouveau/falcon: use vmalloc to create firwmare copies

commit 90d6db1635d5e225623af2e2e859feb607345287 upstream.

Some firmware images may be large (64K), so using kmalloc memory is
inappropriate for them. Use vmalloc instead, to avoid high-order
allocation failures.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/nouveau/core/engine/falcon.c