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)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 23 Jan 2014 03:38:32 +0000 (13:38 +1000)
commit90d6db1635d5e225623af2e2e859feb607345287
treec66588ab87ed313fac1972094f094ae9f4373993
parentd96bf437b6b52c6d7d2f293ca67e576110b04605
drm/nouveau/falcon: use vmalloc to create firwmare copies

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>
Cc: stable@vger.kernel.org
drivers/gpu/drm/nouveau/core/engine/falcon.c