Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-07-20 | Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE. | Eric Anholt | |
The data is now in kernel space, copied in/out as appropriate according to the This results in DRM_COPY_{TO,FROM}_USER going away, and error paths to deal with those failures. This also means that XFree86 4.2.0 support for i810 DRM is lost. | |||
2007-07-20 | Replace filp in ioctl arguments with drm_file *file_priv. | Eric Anholt | |
As a fallout, replace filp storage with file_priv storage for "unique identifier of a client" all over the DRM. There is a 1:1 mapping, so this should be a noop. This could be a minor performance improvement, as everything on Linux dereferenced filp to get file_priv anyway, while only the mmap ioctls went the other direction. | |||
2007-07-20 | Remove DRM_ERR OS macro. | Eric Anholt | |
This was used to make all ioctl handlers return -errno on linux and errno on *BSD. Instead, just return -errno in shared code, and flip sign on return from shared code to *BSD code. | |||
2007-07-16 | drm: remove drmP.h internal typedefs | Dave Airlie | |
2007-07-16 | drm: detypedef drm.h and fixup all problems | Dave Airlie | |
2006-12-19 | remove inline from large function | Dave Airlie | |
2005-11-28 | Assert an MIT copyright on sis_drm.h, since one was lacking and I created | Eric Anholt | |
that particular file. Its contents have changed a good bit since the original sis code, and the original sis code didn't care much about attribution since it routinely disclaims Precision Insight/VA Linux from responsibility. Also, adjust formatting around license headers (have a comment open immediately before the "Copyright" line, not as a runon of any previous comments) for automatic processing into FreeBSD, where /*- is used to signal the beginning of license headers for automatic compilation of license lists. | |||
2005-11-11 | mixing breaks in r128 driver.. fixed in kernel | Dave Airlie | |
2005-09-03 | convert ioctl flags to use flags instead of separate ints | Dave Airlie | |
2005-08-05 | Rename the driver hooks in the DRM to something a little more | Eric Anholt | |
understandable: preinit -> load postinit -> (removed) presetup -> firstopen postsetup -> (removed) open_helper -> open prerelease -> preclose free_filp_priv -> postclose pretakedown -> lastclose postcleanup -> unload release -> reclaim_buffers_locked version -> (removed) postinit and version were replaced with generic code in the Linux DRM (drivers now set their version numbers and description in the driver structure, like on BSD). postsetup wasn't used at all. Fixes the savage hooks for initializing and tearing down mappings at the right times. Testing involved at least starting X, running glxgears, killing glxgears, exiting X, and repeating. Tested on: FreeBSD (g200, g400, r200, r128) Linux (r200, savage4) | |||
2005-08-04 | Split the control of master vs root priv. Everything is still marked as | Jon Smirl | |
needing root. | |||
2005-07-16 | revert last change due to me bring up too early | Dave Airlie | |
2005-07-16 | Egbert noticed this issue, but changing the IOW to IOWR mess up | Dave Airlie | |
compatiblity with userspace.. | |||
2005-02-03 | Declare r128_do_cleanup_pageflip static since it's only used here and its | Eric Anholt | |
prototype went away. | |||
2005-02-01 | cleanup patch from Adrian Bunk <bunk@stusta.de> | Dave Airlie | |
2004-11-06 | Export missing r128 ioctl symbol | Jon Smirl | |
2004-11-06 | Commit WIP of BSD conversion to core model. Compiles for r128, radeon, but | Eric Anholt | |
doesn't run yet. Moves the ioctl definitions for these two drivers back to the shared code -- they aren't OS-specific. | |||
2004-09-30 | Lindent of core build. Drivers checked for no binary diffs. A few files | Jon Smirl | |
weren't Lindent's because their comments didn't convert very well. A bunch of other minor clean up with no code implact included. | |||
2004-09-27 | First check in for DRM that splits core from personality modules | Jon Smirl | |
2004-08-30 | drm-memory patch, cleans up alloc/free and makes calloc look more libc like | Dave Airlie | |
2004-08-24 | Merged drmfntbl-0-0-2 | Dave Airlie | |
2004-08-17 | Merged drmfntbl-0-0-1 | Dave Airlie | |
2004-07-25 | sync up with current 2.6 kernel bk tree - mostly __user annotations | Dave Airlie | |
2004-05-11 | Add missing DRM_ERR()s. | Eric Anholt | |
2004-04-10 | white space changes to align with kernel | Dave Airlie | |
2004-04-08 | fixes from Linux kernel | Dave Airlie | |
2003-10-16 | Introduce COMMIT_RING() as in radeon DRM, stop using error prone writeback | Michel Daenzer | |
for ring read pointer (Paul Mackerras) Get rid of some superfluous stuff, minor fixes | |||
2003-07-26 | Add Rage 128 pageflipping support, defaults to off. DRM version bump to | Eric Anholt | |
2.5.0. It still has some issues, including a flicker in the fps meter in tuxracer and I've seen garbage left behind after moving/closing windows. However, it's usable. Add the Option "EnablePageFlip" "YES" to use it. | |||
2003-05-26 | Add support to r128 for MESA_ycbcr_texture (Ian Romanick, Leif Delgass) | Leif Delgass | |
2003-03-29 | buf->filp is a pointer, so make printf format args be %p not %d | Eric Anholt | |
2003-03-28 | merged drm-filp-0-1-branch | Keith Whitwell | |
2003-03-25 | XFree86 4.3.0 merge | Alan Hourihane | |
2003-03-04 | DRM_FREE/2 patch from Philip Brown | Keith Whitwell | |
2002-10-30 | Kernel support for vblank syncing on Rage 128 and Matrox. | Eric Anholt | |
2002-08-29 | standardize use of __FUNCTION__ (Linus) | Keith Whitwell | |
2002-07-05 | merged bsd-3-0-0-branch | Alan Hourihane | |