Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-03-05 | FreeBSD: Garbage collect entries from pcireg.h since we now include it. | Robert Noland | |
2009-03-05 | FreeBSD: We only want drm to ever attach to the primary pci device. | Robert Noland | |
Intel 855 chips present the same pci id for both heads. This prevents us from attaching to the dummy second head. All other chips that I am aware of either only present a single pci id, or different ids for each head so that we only match on the correct head. | |||
2009-03-05 | FreeBSD: rework drm_scatter.c which allocates scatter / gather pages for use by | Robert Noland | |
ati pci gart to use bus_dma to handle the allocations. This fixes a garbled screen issue on at least some radeons (X1400 tested). | |||
2009-02-27 | Move vblank_init to driver load time. | Robert Noland | |
2009-02-26 | FreeBSD: Fix up some ioctl permissions issues missed many times over. | Robert Noland | |
This was somehow hit with r600 demo. Submitted by: Jung-uk Kim <jkim@FreeBSD.org> | |||
2009-02-24 | FreeBSD: Turn on msi | Robert Noland | |
There is a blacklist for devices that advertise the capability, but don't work properly. | |||
2009-02-24 | i915: This was part of a sync to the intel driver at some point | Robert Noland | |
-Remove the old TTM interface -Move register definitions to i915_reg.h -Rework the irq handler | |||
2009-02-24 | FreeBSD: Rip out the locked task support now that i915 no longer uses it. | Robert Noland | |
2009-02-23 | FreeBSD: Don't set PZERO in mtx_sleep. | Robert Noland | |
2008-10-10 | [FreeBSD] Rework all of the memory allocations | Robert Noland | |
Allocate memory from different pools. This allows the OS to track memory allocations for us, much like the linux memory debugging. This will ease tracking down memory leaks since the OS can track the number of allocations from each pool and help to point us in the right direction. Also replace drm_alloc and friends with static __inline__ versions while we are here. | |||
2008-09-17 | [FreeBSD] Convert to using cdevpriv for file_priv tracking | Robert Noland | |
2008-09-10 | Remove incomplete and obsolete free/net/open code. | vehemens | |
Signed-off-by: Robert Noland <rnoland@2hip.net> | |||
2008-09-07 | [FreeBSD] Implement drm_ioremap_wc() to set a range of mem to write-combining | Robert Noland | |
2008-09-06 | Pass lock data like linux and open. | vehemens | |
Signed-off-by: Robert Noland <rnoland@2hip.net> | |||
2008-08-29 | [FreeBSD] Use driver features macros and flags | vehemens | |
Signed-off-by: Robert Noland <rnoland@2hip.net> | |||
2008-08-29 | [FreeBSD] Convert drm_driver to a pointer like linux. | vehemens | |
Signed-off-by: Robert Noland <rnoland@2hip.net> | |||
2008-08-29 | [FreeBSD] Replace typedefs on bsd. | vehemens | |
Signed-off-by: Robert Noland <rnoland@2hip.net> | |||
2008-08-24 | [FreeBSD] Add drm_drawable_free_all() | Robert Noland | |
2008-08-24 | [FreeBSD] Move vblank bits into their own structure. | vehemens | |
Signed-off-by: Robert Noland <rnoland@2hip.net> | |||
2008-07-24 | [FreeBSD] Catch up to linux on vblank-rework | Robert Noland | |
2008-07-21 | [FreeBSD] Improve upper_32_bits define. | Robert Noland | |
Thanks to airlied. | |||
2008-07-17 | [FreeBSD] drm_irq.c updates for vblank fixes. | Robert Noland | |
2008-07-16 | FreeBSD: Fix radeon build | Robert Noland | |
2008-07-16 | BSD: change drm_locked_task*() to use the same scheme as linux. | Owain Gordon Ainsworth | |
The current code can sleep in an interrupt handler, that is bad. So instead if we can't grab the lock, flag it and run the tasklet on unlock. Signed-off-by: Robert Noland <rnoland@2hip.net> | |||
2008-06-08 | [FreeBSD] Incorporate vblank fixes for bsd. | Robert Noland | |
2008-06-08 | [FreeBSD] Go back to using vbl_lock and move init/destroy to load/unload. | Robert Noland | |
2008-06-01 | [FreeBSD] Get rid of vbl_lock and re-use irq_lock. | Robert Noland | |
2008-05-27 | [FreeBSD] Add vblank-rework support and get drivers building. | Robert Noland | |
The i915 driver now works again. | |||
2008-05-27 | [FreeBSD] Convert from drm_device_t to struct drm_device for consistency. | Eric Anholt | |
2007-12-02 | bsd: Replace other occurrences of msleep with mtx_sleep | Robert Noland | |
2007-12-02 | bsd: Now make secondary vblank work | Robert Noland | |
We needed to specifically check for driver support and test the correct vbl_received value. Also pulled over support for _DRM_VBLANK_NEXTONMISS from the linux code. | |||
2007-12-01 | bsd: Hook secondary vblank support. | Robert Noland | |
2007-11-29 | Fix up drm_ati_pcigart_info | Robert C. Noland III | |
2007-11-18 | Bug #13233: Chase move of agp headers on FreeBSD. | Robert Noland | |
2007-11-14 | Add new shared header file drm_internal.h. | Kristian Høgsberg | |
This header file is shared across linux and bsd, but is not installed for user space to access. It's the place to put prototypes and data types that aren't platform or chipset specific, but still internal to the drm. | |||
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-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-19 | FreeBSD warnings cleanup. | 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. | |||
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-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-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 | 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. |