summaryrefslogtreecommitdiff
path: root/bsd-core/drm_bufs.c
AgeCommit message (Expand)AuthorFilesLines
2008-06-13[FreeBSD] Fix another lock leakRobert Noland1-2/+2
2008-05-27[BSD] Fix lock leaks in error paths in drm_bufs.c.Owain Ainsworth1-9/+17
2008-05-27[FreeBSD] Convert from drm_device_t to struct drm_device for consistency.Eric Anholt1-19/+26
2007-08-15Fix dev->agp->base initialization on BSD, and fix addmap range check on Linux.Eric Anholt1-1/+11
2007-08-15BSD: Replace brief description in each file's first line with doxygen later on.Eric Anholt1-3/+4
2007-07-20Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE.Eric Anholt1-88/+59
2007-07-20Replace filp in ioctl arguments with drm_file *file_priv.Eric Anholt1-4/+4
2007-07-20Remove DRM_ERR OS macro.Eric Anholt1-42/+42
2006-12-01Core build fix for BSD.Michel Dänzer1-0/+3
2005-11-08Correct another LOR issue with resource allocation. This leaves theEric Anholt1-1/+6
2005-11-08Initial port of savage to FreeBSD for the AGP and !ShadowStatus case. AddsEric Anholt1-1/+1
2005-11-08Correct a LOR related to the PCI resource allocations by simply moving theEric Anholt1-1/+1
2005-11-08Correct a recursion on non-recursive mutex in drm_addmap from radeon'sEric Anholt1-5/+6
2005-08-26- Don't try to allocate mappings of less than a PAGE_SIZE in MGA DMA code.Eric Anholt1-26/+47
2005-08-26Previously, drm_get_resource_start() and drm_get_resource_len() wouldEric Anholt1-27/+28
2005-08-26[1] Fix BSD DRM for the nonroot changes. [2] Don't attempt to acquire theEric Anholt1-7/+51
2005-08-05Rename the driver hooks in the DRM to something a little moreEric Anholt1-5/+5
2005-06-29Get the BSD DRM compiling again after MGA and mapping changes. Note thatEric Anholt1-103/+136
2005-06-06Add a few more bits of Tonnerre's NetBSD port (Still need to deal with theEric Anholt1-1/+2
2005-04-26Convert BSD code to mostly use bus_dma, the dma abstraction for dealingEric Anholt1-27/+18
2005-04-24Fix a panic on startup with non-initmapping drivers by assigning theEric Anholt1-1/+1
2005-04-16Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSDEric Anholt1-1/+2
2005-04-13Fix build on FreeBSD-current, thanks to jhb@.Eric Anholt1-0/+5
2005-02-07Restore a debugging message to DRM_DEBUG instead of DRM_ERROR.Eric Anholt1-1/+1
2005-02-05- Implement drm_initmap, and extend it with the resource number to helpEric Anholt1-61/+193
2004-11-07Now that the memory debug code is gone, and all 3 BSDs have M_ZERO, stopEric Anholt1-87/+57
2004-11-06Commit first pieces of port to OpenBSD, done by Martin Lexa (martin atEric Anholt1-7/+6
2004-11-06Commit WIP of BSD conversion to core model. Compiles for r128, radeon, butEric Anholt1-114/+79
2004-08-17Merged drmfntbl-0-0-1drmfntbl-0-0-1-20040817-mergeDave Airlie1-17/+6
2004-05-09Warning fixes.Eric Anholt1-1/+1
2004-01-06Fix some misuse of NULL where 0 is intended.Eric Anholt1-1/+1
2003-12-16Don't ioremap the framebuffer area. The ioremapped area wasn't used byEric Anholt1-22/+17
2003-11-12Fix a locking nit, and add asserts in some things that should be callednewmesa-0-0-1-20031209Eric Anholt1-1/+1
2003-11-06Return EBUSY when attempting to addmap a DRM_SHM area with a lock in it ifEric Anholt1-0/+10
2003-10-20Clean up BSD MTRR handling. The NetBSD code is untested, but it's my bestEric Anholt1-42/+11
2003-10-19- SMPng lock the DRM. This is only partial -- there are a few code pathsEric Anholt1-103/+58
2003-10-03Some code cleanups done while working on locking. Reduces always-trueEric Anholt1-82/+63
2003-10-03Stylistic preparation for SMPng locking work: DRM_LOCK/DRM_UNLOCK have sideEric Anholt1-24/+24
2003-10-02Mostly whitespace cleanups and style(9) fixes focused on "if(" -> "if ("Eric Anholt1-56/+49
2003-08-19Fix the debug build.Eric Anholt1-1/+1
2003-08-19- Remove $FreeBSD$ tags as they weren't too useful and merges are now beingEric Anholt1-1/+1
2003-05-16Support AGP bridges where the AGP aperture can't be accessed directly byMichel Daenzer1-1/+1
2003-04-26Add PCI DMA memory functions and make addbufs_pci and associated code useEric Anholt1-56/+97
2003-04-25Merge from FreeBSD-current.FreeBSD-20030424Eric Anholt1-1/+1
2003-04-25Clean up the DRM_COPY_TO_USER()ing of DRM(infobufs), making it moreEric Anholt1-15/+9
2003-04-24Remove more gamma DMA infrastructure. Most of this code was copied straightEric Anholt1-34/+2
2003-04-24Move some common code from addbufs_<type> to addbufs. Make buf_alloc beEric Anholt1-113/+57
2003-04-24Remove DRM_DMA_HISTOGRAM and associated code.Eric Anholt1-19/+0
2003-03-29Add DRMFILE definitions and supply filp for BSD in theEric Anholt1-9/+9
2003-03-11Merge back from FreeBSD-current, adding FreeBSD ID tags to aid futureX_4_3_0-20020324-preimportEric Anholt1-0/+1