drm/nouveau/bo: add helper functions for handling pinned+mapped buffers
authorBen Skeggs <bskeggs@redhat.com>
Fri, 12 Jan 2018 07:05:03 +0000 (17:05 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 2 Feb 2018 05:24:06 +0000 (15:24 +1000)
commit561464ea543c2f39f07ac2da91043555fa133601
tree81f3a170488fc25bfee5026bc674a7f769c40d3d
parent27cda223327505a19d912536dff205ccdc5c5c2a
drm/nouveau/bo: add helper functions for handling pinned+mapped buffers

This is a common, awkward sequence.  Let's wrap it up!

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_bo.h