drm/nouveau: warn when moving a pinned object
authorAlexandre Courbot <acourbot@nvidia.com>
Mon, 27 Oct 2014 09:11:52 +0000 (18:11 +0900)
committerBen Skeggs <bskeggs@redhat.com>
Tue, 2 Dec 2014 05:43:58 +0000 (15:43 +1000)
commit5be5a15a43642de7e10d17da0c172ea2d28d22c4
tree765677a7baa1b36a35b1be49b8bd04f219b6c62e
parentf9895e6dbe92d38f821864b48b135f63bf115dec
drm/nouveau: warn when moving a pinned object

Pinned BOs are supposed to remain in their current location until
unpinned. Display a warning for the supposedly-erroneous case where we
are trying to move such objects.

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