Skip to content
Commit 0ff926c7 authored by Dave Airlie's avatar Dave Airlie
Browse files

drm/prime: add exported buffers to current fprivs imported buffer list (v2)



If userspace attempts to import a buffer it exported on the same device,
we need to return the same GEM handle for it, not a new handle pointing
at the same GEM object.

v2: move removals into a single fn, no need to set to NULL. (Chris Wilson)

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 51ab7ba2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment