summaryrefslogtreecommitdiff
path: root/linux-core/i810_drv.h
AgeCommit message (Expand)Author
2006-08-28drm: lots of small cleanups and whitespace issues fixed upDave Airlie
2006-02-18make some functions static from the kernelDave Airlie
2005-11-11cleanup ioctl/max_ioctl to use header file for extern symbolsDave Airlie
2005-08-05Rename the driver hooks in the DRM to something a little moreEric Anholt
2005-06-17Fix 810/830 buildJon Smirl
2005-02-01make more functions static in i810 and fix pageflip cleanupDave Airlie
2005-01-01i810/i830 bug with Jon's file operations changesDave Airlie
2004-10-31Allow drivers to override reclaim_buffers in an OS-independent way byFelix Kuehling
2004-09-30Lindent of core build. Drivers checked for no binary diffs. A few filesJon Smirl
2004-09-27First check in for DRM that splits core from personality modulesJon Smirl
2004-08-17Merged drmfntbl-0-0-1Dave Airlie
2003-06-05add page flipping support to the DRM, up version number to 1.3.0...Dave Airlie
2003-04-26Ensure driver has been initialized (dev_private != NULL) before installingLeif Delgass
2003-04-262.5.x sync patch from Linus TorvaldsKeith Whitwell
2003-03-28merged drm-filp-0-1-branchKeith Whitwell
2003-03-25linux merge for drmAlan Hourihane
2002-10-22final part of XFree86 4.2.99.2 mergeAlan Hourihane
2002-02-14First pass of mesa-4-0 branch merge into trunk.David Dawes
2002-01-27First pass merge of XFree86 4.2.0 import.David Dawes
2001-03-14Merged sarea-1-0-0Kevin E Martin
2001-02-16- Clean up the way customization of the templates is done.Gareth Hughes
2001-02-15Merge mga-1-0-0-branch into trunk.Gareth Hughes
2000-09-29Audit calls to schedule() Remove tags from files shared with Linux kernelRik Faith
2000-09-24commit xfree86 4.0.1d-pre updateAlan Hourihane
2000-08-04Sync with Linux 2.4.0-test6-pre2Rik Faith
2000-07-13applied Jeff's xf86cvs-I810copy.patchBrian Paul
2000-06-08Merged glxmisc-3-0-0Brian Paul
2000-05-25Merged mga-0-0-3-branchKeith Whitwell
2000-04-04Merged mga branch with trunkJeff Hartmann
2000-02-22Import of XFree86 3.9.18Kevin E Martin
* The (page-aligned) allocated size for the object will be returned. */ uint32_t size; /** Returned handle for the object. */ uint32_t handle; }; struct mmfs_unreference_args { /** Handle of the object to be unreferenced. */ uint32_t handle; }; struct mmfs_link_args { /** Handle for the object being given a name. */ uint32_t handle; /** Requested file name to export the object under. */ char *name; /** Requested file mode to export the object under. */ mode_t mode; }; struct mmfs_pread_args { /** Handle for the object being read. */ uint32_t handle; /** Offset into the object to read from */ off_t offset; /** Length of data to read */ size_t size; /** Pointer to write the data into. */ void *data; }; struct mmfs_pwrite_args { /** Handle for the object being written to. */ uint32_t handle; /** Offset into the object to write to */ off_t offset; /** Length of data to write */ size_t size; /** Pointer to read the data from. */ void *data; }; struct mmfs_mmap_args { /** Handle for the object being mapped. */ uint32_t handle; /** Offset in the object to map. */ off_t offset; /** * Length of data to map. * * The value will be page-aligned. */ size_t size; /** Returned pointer the data was mapped at */ void *addr; }; /** * \name Ioctls Definitions */ /* @{ */ #define MMFS_IOCTL_BASE 'm' #define MMFS_IO(nr) _IO(MMFS_IOCTL_BASE, nr) #define MMFS_IOR(nr,type) _IOR(MMFS_IOCTL_BASE, nr, type) #define MMFS_IOW(nr,type) _IOW(MMFS_IOCTL_BASE, nr, type) #define MMFS_IOWR(nr,type) _IOWR(MMFS_IOCTL_BASE, nr, type) /** This ioctl allocates an object and returns a handle referencing it. */ #define MMFS_IOCTL_ALLOC MMFS_IOWR(0x00, struct mmfs_alloc_args) /** * This ioctl releases the reference on the handle returned from * MMFS_IOCTL_ALLOC. */ #define MMFS_IOCTL_UNREFERENCE MMFS_IOR(0x01, struct mmfs_unreference_args) /** * This ioctl creates a file in the mmfs filesystem representing an object. * * XXX: Need a way to get handle from fd or name. */ #define MMFS_IOCTL_LINK MMFS_IOWR(0x02, struct mmfs_link_args) /** This ioctl copies data from an object into a user address. */ #define MMFS_IOCTL_PREAD MMFS_IOWR(0x03, struct mmfs_pread_args) /** This ioctl copies data from a user address into an object. */ #define MMFS_IOCTL_PWRITE MMFS_IOWR(0x04, struct mmfs_pwrite_args) /** This ioctl maps data from the object into the user address space. */ #define MMFS_IOCTL_MMAP MMFS_IOWR(0x05, struct mmfs_mmap_args) /* }@ */