DRM_INFOBUFS

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

drm_infobufs -  

SYNOPSIS

"SYNOPSIS"

int drm_infobufs (struct inode * inode, struct file * filp, unsigned int cmd, unsigned long arg);  

ARGUMENTS

inode
-- undescribed --
filp
-- undescribed --
cmd
-- undescribed --
arg
-- undescribed --
 

DESCRIPTION

This was originally mean for debugging purposes, or by a sophisticated client library to determine how best to use the available buffers (e.g., large buffers can be used for image transfer).

\param inode device inode. \param filp file pointer. \param cmd command. \param arg pointer to a drm_buf_info structure. \return zero on success or a negative number on failure.  

INCREMENTS DRM_DEVICE

:buf_use while holding the drm_device::count_lock lock, preventing of allocating more buffers after this call. Information about each requested buffer is then copied into user space.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
INCREMENTS DRM_DEVICE

This document was created by man2html, using the manual pages.
Time: 00:02:05 GMT, October 09, 2005