drm/nouveau/gr/gk20a: simplify external bundle loading functions
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 24 Feb 2016 05:42:17 +0000 (14:42 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:20 +0000 (10:13 +1000)
commit5986d3e13bb2b7c1140c3cb64b78ff3f9e2330e2
tree82c614da63c0ca13ebb88b2d7bbb024fa245b8f2
parent18cd5bc8ea587dc2fc0c07d2a4bf3cfe9ed2ef53
drm/nouveau/gr/gk20a: simplify external bundle loading functions

Make these functions easier to use by handling memory management from
within.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.c