summaryrefslogtreecommitdiff
path: root/shared-core/i915_mem.c
AgeCommit message (Collapse)AuthorFilesLines
2009-11-17Drop shared-core, bsd-core, linux-core and scripts subdirsKristian Høgsberg1-386/+0
2008-12-10Revert "Merge branch 'modesetting-gem'"Jesse Barnes1-12/+11
This reverts commit 6656db10551bbb8770dd945b6d81d5138521f208. We really just want the libdrm and ioctl bits, not all the driver stuff.
2008-02-14missing bitsDave Airlie1-1/+2
2008-01-25Merge remote branch 'origin/master' into modesetting-101Dave Airlie1-4/+4
Conflicts: linux-core/drm_bo.c linux-core/drm_drv.c shared-core/drm.h shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c shared-core/radeon_irq.c
2008-01-03drm: cleanup DRM_DEBUG() parametersMárton Németh1-4/+4
As DRM_DEBUG macro already prints out the __FUNCTION__ string (see drivers/char/drm/drmP.h), it is not worth doing this again. At some other places the ending "\n" was added. airlied:- I cleaned up a few that this patch missed also
2007-11-05Merge branch 'master' into modesetting-101Thomas Hellstrom1-1/+1
Conflicts: linux-core/drm_bufs.c shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c
2007-11-05drm: remove lots of spurious whitespace.Dave Airlie1-1/+1
Kernel "cleanfile" script run.
2007-09-24Merge branch 'master' into modesetting-101 - TTM & typedef removalJesse Barnes1-77/+66
Conflicts: linux-core/drmP.h linux-core/drm_bo.c linux-core/drm_drv.c linux-core/drm_objects.h shared-core/drm.h shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c Mostly removing typedefs that snuck into the modesetting code and updating to the latest TTM APIs. As of today, the i915 driver builds, but there are likely to be problems, so debugging and bugfixes will come next.
2007-07-20Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE.Eric Anholt1-35/+23
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-20Replace filp in ioctl arguments with drm_file *file_priv.Eric Anholt1-20/+21
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-20Remove DRM_ERR OS macro.Eric Anholt1-14/+14
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-16drm: remove drmP.h internal typedefsDave Airlie1-2/+2
2007-07-16drm: detypedef drm.h and fixup all problemsDave Airlie1-1/+1
2006-01-23Fix CMDBUFFER path, add heap destroy and flesh out sarea for rotationAlan Hourihane1-0/+30
(Tungsten Graphics)
2005-11-28Assert an MIT copyright on sis_drm.h, since one was lacking and I createdEric Anholt1-3/+2
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-11remove extra spacesDave Airlie1-5/+5
2005-06-06Fix copyrightsAlan Hourihane1-2/+22
2004-09-30Lindent of core build. Drivers checked for no binary diffs. A few filesJon Smirl1-5/+7
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-27First check in for DRM that splits core from personality modulesJon Smirl1-11/+10
2004-08-30drm-memory patch, cleans up alloc/free and makes calloc look more libc likeDave Airlie1-10/+10
2004-08-27run i915 through lindentDave Airlie1-114/+100
2004-07-31fixes for using userspace pointers found by sparse utilityDave Airlie1-2/+2
From: Dave Airlie
2004-07-25sync up with current 2.6 kernel bk tree - mostly __user annotationsDave Airlie1-3/+3
2004-07-20Add NULLs instead of 0 for i915Dave Airlie1-9/+9
2004-06-10i915.o drm driverKeith Whitwell1-0/+361