diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-06-14 22:36:04 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-06-21 22:20:20 +0200 |
commit | 7b0cdf3e56b9b0bd05afa4904dc249c0f22dd30b (patch) | |
tree | 13c484ab59d58d7e8c3bb2b3ecf3b7c67f377fc2 /arch | |
parent | 5f6ed9879a414636405a2bd77f122881695959e4 (diff) |
drm/vgem: Ditch attach trickery in the fence ioctl
It looks like this was done purely to get a consistent place to look
up the reservation object pointer. With the drm_prime.c helper code
now also setting gem_object->resv for imported objects we can just use
that pointer directly, instead of first ensuring a dma-buf exists.
v2: Note that I screwed up the patch ordering, hence why this needed
a Fixes: tag - CI spotted the broken intermediate state.
Fixes: 5eab998741c8 ("drm/vgem: Drop drm_gem_prime_export")
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190614203615.12639-49-daniel.vetter@ffwll.ch
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions