summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/cdv_intel_dp.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-08-15 00:02:47 +0200
committerDave Airlie <airlied@redhat.com>2013-08-21 12:58:18 +1000
commit838cd4455ee1c76db06175d44319a8e7ac114b0e (patch)
treedb2f792ee85c86a54241008313c37a57cf351aee /drivers/gpu/drm/gma500/cdv_intel_dp.c
parent319c933c71f3dbdb2b3274d1634d3494c70efa06 (diff)
drm/prime: Simplify drm_gem_remove_prime_handles
with the reworking semantics and locking of the obj->dma_buf pointer this pointer is always set as long as there's still a gem handle around and a dma_buf associated with this gem object. Also, the per file-priv lookup-cache for dma-buf importing is also unified between foreign and native objects. Hence we don't need to special case the clean any more and can simply drop the clause which only runs for foreing objects, i.e. with obj->import_attach set. Note that with this change (actually with the previous one to always set up obj->dma_buf even for foreign objects) it is no longer required to set obj->import_attach when importing a foreing object. So update comments accordingly, too. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500/cdv_intel_dp.c')
0 files changed, 0 insertions, 0 deletions