drm: add unpin function to prime helpers
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 9 Apr 2013 07:18:44 +0000 (09:18 +0200)
committerDave Airlie <airlied@redhat.com>
Mon, 10 Jun 2013 21:51:11 +0000 (07:51 +1000)
commit102d6dba306c825cd5c310f73868b130931f47aa
tree75346aaa4f291511fa64a94132813678f9cefd09
parent328a4719b6a0930721b5f8d5c69993d3b6e3913f
drm: add unpin function to prime helpers

Prevents buffers from being pinned forever.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_prime.c
include/drm/drmP.h