drm/nouveau/core: add gpuobj memcpy helper functions
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 24 Feb 2016 05:42:14 +0000 (14:42 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 14 Mar 2016 00:13:19 +0000 (10:13 +1000)
commit5d2083d2f9f144024787da8296a14ed052849853
treeed4752407bc132b6e65edafb6300399a1e164959
parent96fc422c271d72dd465ae4620daabb2fb05971eb
drm/nouveau/core: add gpuobj memcpy helper functions

Add memcpy functions to copy a buffer to a gpuobj and vice-versa. This
will be used by the secure boot code.

Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/include/nvkm/core/gpuobj.h
drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c