diff options
| author | Daniel Vetter <[email protected]> | 2019-06-14 20:36:04 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2019-06-21 20:20:20 +0000 |
| commit | 7b0cdf3e56b9b0bd05afa4904dc249c0f22dd30b (patch) | |
| tree | 13c484ab59d58d7e8c3bb2b3ecf3b7c67f377fc2 /drivers/gpu/drm/lima/lima_device.c | |
| parent | drm/prime: automatically set gem_obj->resv on import (diff) | |
| download | kernel-7b0cdf3e56b9b0bd05afa4904dc249c0f22dd30b.tar.gz kernel-7b0cdf3e56b9b0bd05afa4904dc249c0f22dd30b.zip | |
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 <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/lima/lima_device.c')
0 files changed, 0 insertions, 0 deletions
