Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-08-15 | BSD: Return EINVAL if drm_unlock is called on an unheld or other-owner lock. | Eric Anholt | |
2007-08-15 | BSD: simplify drm_ioctl() after other refactoring. | vehemens | |
2007-08-15 | Bug #11989: Fix regression in getstats ioctl (kernel panic). | vehemens | |
2007-08-15 | BSD: Fix regression in setversion ioctl (current version not returned). | Eric Anholt | |
2007-08-15 | BSD: Replace brief description in each file's first line with doxygen later on. | Eric Anholt | |
The brief descriptions usually had the wrong filename in them. | |||
2007-08-13 | Bug #11951: Fix an errno sign inversion on pre-FreeBSD 5. | vehemens | |
Also, annotate where signs change, to hopefully remind the reader of these issues in the future. | |||
2007-08-13 | Add doxygen and fix whitespace for drm_auth.c | Eric Anholt | |
2007-08-13 | Fix drm_auth.c locking to not recurse on dev_lock. | vehemens | |
2007-07-25 | Fix copy'n'paste-o in FreeBSD drawable code. | Eric Anholt | |
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 | BSD: Replace symlink building with symlinks in git. | Eric Anholt | |
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-19 | FreeBSD warnings cleanup. | Eric Anholt | |
2007-07-19 | FreeBSD: Fix the recently added drawable add/remove/update code. | Eric Anholt | |
2007-07-19 | Fix the getclient test (Need this feature for future tests). | Eric Anholt | |
2007-07-18 | Add dry-coded DRM drawable private information storage for FreeBSD. | Eric Anholt | |
With this, all modules build again. | |||
2007-07-16 | Fix FreeBSD build. | Eric Anholt | |
2007-07-11 | Made drm_sg_alloc accessible from inside the DRM - drm_sg_alloc_ioctl is the ↵ | Arthur Huillet | |
ioctl wrapper | |||
2007-05-29 | Update a bunch of FreeBSD port code. | Jung-uk Kim | |
Tested on r200/r300. i915 updates still remain to be done. | |||
2007-03-24 | Catch up to new interrupt API, and retire FreeBSD 4.x support here. | Eric Anholt | |
2006-12-01 | Core build fix for BSD. | Michel Dänzer | |
2006-12-01 | Unshare drm_drawable.c again for now. | Michel Dänzer | |
The current version didn't build on BSD, where the new functionality isn't used yet anyway. Whoever changes that will hopefully be able to make the OSes share this file as well. | |||
2006-10-31 | Fix bug #8839 - a comment | Alan Hourihane | |
2006-09-28 | Add support for tracking drawable information to core | Michel Dänzer | |
Actually make the existing ioctls for adding and removing drawables do something useful, and add another ioctl for the X server to update drawable information. The only kind of drawable information tracked so far is cliprects. | |||
2006-09-06 | Use the DRM_INIT_WAITQUEUE argument (needed on Linux) to avoid a warning. | Eric Anholt | |
2006-09-06 | Put the PCI device/vendor id in the drm_device_t. | Eric Anholt | |
This helps us unbreak FreeBSD DRM from the 965 changes. | |||
2006-09-06 | Add a typedef for u64. | Eric Anholt | |
2006-07-19 | .cvsignore -> .gitignore | Michel Dänzer | |
Sort the merged file, remove the redundant explicit .ko lines and add some generated symlinks. | |||
2006-05-17 | Set entry->virtual for sg maps, fixing ATI PCI/PCIE GART support. | Eric Anholt | |
PR: kern/97056 Submitted by: Stanislav Sedov <ssedov@mbsd.msk.ru> | |||
2006-05-17 | Add the bits for vblank support on FreeBSD, which most importantly avoids | Eric Anholt | |
chasing a NULL pointer at the first 3d app invocation. | |||
2006-05-17 | Add the workaround that's in the kernel to suppress GCC's warning about | Eric Anholt | |
refusal to inline functions that (in some cases, at least) aren't that large. | |||
2006-04-18 | Reorder the DRM_*_AGP enum to match linux's numbers (oops). Fixes i915 | Eric Anholt | |
attachment. Make our mga_drv.c use them, while I'm here. Submitted by: Jonathan Fosburgh <jonathan@fosburgh.org> | |||
2005-12-30 | Merge patch from jhb to catch up with FreeBSD-current vgapci master device | Eric Anholt | |
changes. | |||
2005-12-05 | Remove driver.device_is_agp code duplicated in drm_device_find_capability, | Eric Anholt | |
when it really wanted to live in drm_device_is_agp. | |||
2005-12-02 | Finish the last bits necessary to get the i915 DRM port working on FreeBSD | Eric Anholt | |
Submitted by: Alexey Popov <llp@iteranet.com> | |||
2005-12-02 | FreeBSD PR kern/85479: Restore the enabling of debugging by default by the | Eric Anholt | |
DRM_DEBUG kernel option. It remains controlled by hw.dri.*.debug no matter what. | |||
2005-11-28 | Fix AGP support guessing: Implement the same bridge checking in the MGA | Eric Anholt | |
driver as Linux uses, and actually use the driver's device_is_agp if available (hopefully fixing i915). | |||
2005-11-15 | Fix compiling and reenable build of i915 driver. | Eric Anholt | |
2005-11-15 | Fix Savage DRI without ShadowStatus NO by allowing the shadow area to be | Eric Anholt | |
mapped. | |||
2005-11-11 | Fix breakage from the move of driver ioctl externs to header files. | Eric Anholt | |
2005-11-08 | Correct another LOR issue with resource allocation. This leaves the | Eric Anholt | |
drm_get_resource_* resource allocation a little racy, but they're getting called at either X Server startup or driver load, so it's serialized anyway. | |||
2005-11-08 | Initial port of savage to FreeBSD for the AGP and !ShadowStatus case. Adds | Eric Anholt | |
drm_mtrr_{add,del} for handling the MTRR setup. Still has a LOR issue with DRM_VERIFYAREA_READ/DRM_COPY_FROM_USER_UNCHECKED in savage_bci.c -- this won't work with the fine-grained locking in use, and just doing a single copyin to a temporary will probably work fine. Also note that the module leaks approximately 4 kb on unload. | |||
2005-11-08 | Correct a LOR related to the PCI resource allocations by simply moving the | Eric Anholt | |
uninit to unload time rather than lastclose. | |||
2005-11-08 | Fix FreeBSD DRM for latest MGA changes to agp support, which cleans things | Eric Anholt | |
up a good bit, I think. Also, remove the agp_uninit() function which has lain around as a noop for years now. The FreeBSD DRM is now all compiling, with the exception of via. One known sleeping-with-lock-held issue remains. | |||
2005-11-08 | Catch FreeBSD up to the pcie gart changes. Required minor modification to | Eric Anholt | |
radeon_cp.c to use a drm_local_map_t-type mapping (drm_core_ioremap rather than drm_ioremap), which contains private device mapping information on BSD. I also changed the ati_pcigart interface to use "void *" for pointers to kva rather than "unsigned long". While PCIGART support appears to be broken on FreeBSD currently, I think this is not new, and BusType PCI remains working on my r100 in Linux. | |||
2005-11-08 | Correct a recursion on non-recursive mutex in drm_addmap from radeon's | Eric Anholt | |
firstopen, by making drm_addmap require the drm device lock to be held. Also, make matching of kernel maps match linux by requiring shm matches to have the contains_lock flag set if the offset doesn't match. | |||
2005-11-06 | Re-disable the via driver while it's broken on BSD. | Eric Anholt | |
2005-09-30 | Add support to turn writeback off via radeon module option | Dave Airlie | |
2005-09-12 | Fix the spelling of DRM_AUTH so that the bsd core stuff builds again. Next | Eric Anholt | |
up is pcigart. |