search for: drm_prime_handle_to_fd_ioctl

Displaying 3 results from an estimated 3 matches for "drm_prime_handle_to_fd_ioctl".

2014 Sep 26
0
[RFC PATCH 7/7] drm/prime: Support explicit fence on export
...dma_buf_fd(dmabuf, flags); /* * We must _not_ remove the buffer from the handle cache since the newly @@ -475,6 +503,7 @@ out: drm_gem_object_unreference_unlocked(obj); out_unlock: mutex_unlock(&file_priv->prime.lock); + fence_put(fence); return ret; } @@ -624,7 +653,6 @@ int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data, struct drm_file *file_priv) { struct drm_prime_handle *args = data; - uint32_t flags; if (!drm_core_check_feature(dev, DRIVER_PRIME)) return -EINVAL; @@ -633,14 +661,11 @@ int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data, ret...
2014 Sep 29
1
[RFC PATCH 7/7] drm/prime: Support explicit fence on export
..._not_ remove the buffer from the handle cache since the newly > @@ -475,6 +503,7 @@ out: > drm_gem_object_unreference_unlocked(obj); > out_unlock: > mutex_unlock(&file_priv->prime.lock); > + fence_put(fence); > > return ret; > } > @@ -624,7 +653,6 @@ int drm_prime_handle_to_fd_ioctl(struct drm_device *dev, void *data, > struct drm_file *file_priv) > { > struct drm_prime_handle *args = data; > - uint32_t flags; > > if (!drm_core_check_feature(dev, DRIVER_PRIME)) > return -EINVAL; > @@ -633,14 +661,11 @@ int drm_prime_handle_to_fd_ioctl(st...
2014 Sep 26
14
[RFC] Explicit synchronization for Nouveau
Hi guys, I'd like to start a new thread about explicit fence synchronization. This time with a Nouveau twist. :-) First, let me define what I understand by implicit/explicit sync: Implicit synchronization * Fences are attached to buffers * Kernel manages fences automatically based on buffer read/write access Explicit synchronization * Fences are passed around independently * Kernel takes