diff options
Diffstat (limited to 'drivers/gpu/ion/ion_priv.h')
| -rw-r--r-- | drivers/gpu/ion/ion_priv.h | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/ion/ion_priv.h b/drivers/gpu/ion/ion_priv.h index b2397230885..449f514261b 100644 --- a/drivers/gpu/ion/ion_priv.h +++ b/drivers/gpu/ion/ion_priv.h @@ -131,6 +131,15 @@ struct ion_heap {  };  /** + * ion_buffer_fault_user_mappings - fault in user mappings of this buffer + * @buffer:		buffer + * + * indicates whether userspace mappings of this buffer will be faulted + * in, this can affect how buffers are allocated from the heap. + */ +bool ion_buffer_fault_user_mappings(struct ion_buffer *buffer); + +/**   * ion_device_create - allocates and returns an ion device   * @custom_ioctl:	arch specific ioctl function if applicable   *  |