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:50:22 +0000 (13:50 -0800)
commitd148375ecc9b1d729c92c2faca300d01a63d8fe3
treeddfdf966b176684fe5510c9dd29757c05ae80f4e
parent5735d668dad54d3307b38560a254eb73c75f0350
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