summaryrefslogtreecommitdiff
path: root/bsd-core/drm_bufs.c
AgeCommit message (Expand)Author
2008-10-10[FreeBSD] Rework all of the memory allocationsRobert Noland
2008-10-03[FreeBSD] Do a bit of optimization on drm_order()Robert Noland
2008-09-10Remove incomplete and obsolete free/net/open code.vehemens
# $FreeBSD$ .PATH: ${.CURDIR}/.. KMOD= mga NO_MAN= YES SRCS= mga_drv.c mga_state.c mga_warp.c mga_dma.c mga_irq.c SRCS+= device_if.h bus_if.h pci_if.h opt_drm.h CFLAGS+= ${DEBUG_FLAGS} -I. -I.. .if defined(DRM_DEBUG) DRM_DEBUG_OPT= "\#define DRM_DEBUG 1" .endif .if !defined(DRM_NOLINUX) DRM_LINUX_OPT= "\#define DRM_LINUX 1" .endif opt_drm.h: touch opt_drm.h echo $(DRM_DEBUG_OPT) >> opt_drm.h echo $(DRM_LINUX_OPT) >> opt_drm.h .include <bsd.kmod.mk>
ef='/renesas/drm.git/commit/bsd-core/drm_bufs.c?h=android&id=2649103bf9c4eb471a10800f4a3161dca6249086'>[FreeBSD] Convert drm_driver to a pointer like linux.vehemens 2008-08-29[FreeBSD] Replace typedefs on bsd.vehemens 2008-06-13[FreeBSD] Fix another lock leakRobert Noland 2008-05-27[BSD] Fix lock leaks in error paths in drm_bufs.c.Owain Ainsworth 2008-05-27[FreeBSD] Convert from drm_device_t to struct drm_device for consistency.Eric Anholt 2007-08-15Fix dev->agp->base initialization on BSD, and fix addmap range check on Linux.Eric Anholt 2007-08-15BSD: Replace brief description in each file's first line with doxygen later on.Eric Anholt 2007-07-20Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE.Eric Anholt 2007-07-20Replace filp in ioctl arguments with drm_file *file_priv.Eric Anholt 2007-07-20Remove DRM_ERR OS macro.Eric Anholt 2006-12-01Core build fix for BSD.Michel Dänzer 2005-11-08Correct another LOR issue with resource allocation. This leaves theEric Anholt 2005-11-08Initial port of savage to FreeBSD for the AGP and !ShadowStatus case. AddsEric Anholt 2005-11-08Correct a LOR related to the PCI resource allocations by simply moving theEric Anholt 2005-11-08Correct a recursion on non-recursive mutex in drm_addmap from radeon'sEric Anholt 2005-08-26- Don't try to allocate mappings of less than a PAGE_SIZE in MGA DMA code.Eric Anholt 2005-08-26Previously, drm_get_resource_start() and drm_get_resource_len() wouldEric Anholt 2005-08-26[1] Fix BSD DRM for the nonroot changes. [2] Don't attempt to acquire theEric Anholt 2005-08-05Rename the driver hooks in the DRM to something a little moreEric Anholt 2005-06-29Get the BSD DRM compiling again after MGA and mapping changes. Note thatEric Anholt 2005-06-06Add a few more bits of Tonnerre's NetBSD port (Still need to deal with theEric Anholt 2005-04-26Convert BSD code to mostly use bus_dma, the dma abstraction for dealingEric Anholt 2005-04-24Fix a panic on startup with non-initmapping drivers by assigning theEric Anholt 2005-04-16Use /*- to begin license blocks in BSD code to reduce diffs against FreeBSDEric Anholt 2005-04-13Fix build on FreeBSD-current, thanks to jhb@.Eric Anholt 2005-02-07Restore a debugging message to DRM_DEBUG instead of DRM_ERROR.Eric Anholt 2005-02-05- Implement drm_initmap, and extend it with the resource number to helpEric Anholt 2004-11-07Now that the memory debug code is gone, and all 3 BSDs have M_ZERO, stopEric Anholt 2004-11-06Commit first pieces of port to OpenBSD, done by Martin Lexa (martin atEric Anholt 2004-11-06Commit WIP of BSD conversion to core model. Compiles for r128, radeon, butEric Anholt 2004-08-17Merged drmfntbl-0-0-1Dave Airlie 2004-05-09Warning fixes.Eric Anholt 2004-01-06Fix some misuse of NULL where 0 is intended.Eric Anholt 2003-12-16Don't ioremap the framebuffer area. The ioremapped area wasn't used byEric Anholt 2003-11-12Fix a locking nit, and add asserts in some things that should be calledEric Anholt 2003-11-06Return EBUSY when attempting to addmap a DRM_SHM area with a lock in it ifEric Anholt 2003-10-20Clean up BSD MTRR handling. The NetBSD code is untested, but it's my bestEric Anholt 2003-10-19- SMPng lock the DRM. This is only partial -- there are a few code pathsEric Anholt 2003-10-03Some code cleanups done while working on locking. Reduces always-trueEric Anholt 2003-10-03Stylistic preparation for SMPng locking work: DRM_LOCK/DRM_UNLOCK have sideEric Anholt 2003-10-02Mostly whitespace cleanups and style(9) fixes focused on "if(" -> "if ("Eric Anholt