Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-11-05 | drm: remove lots of spurious whitespace. | Dave Airlie | |
Kernel "cleanfile" script run. | |||
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-16 | drm: remove drm_buf_t | Dave Airlie | |
2007-07-16 | drm: remove drmP.h internal typedefs | Dave Airlie | |
2007-07-16 | drm: detypedef drm.h and fixup all problems | Dave Airlie | |
2007-05-26 | drm: cleanup use of Linux list handling macros | Dave Airlie | |
This makes the drms use of the list handling macros a lot cleaner and more along the lines of how they should be used. | |||
2007-03-19 | make drm fops const from kernel | Dave Airlie | |
2007-02-18 | drm: remove last usage of VM_OFFSET | Dave Airlie | |
2007-01-08 | fixup i810/i830 to use drm_core_ioremap instead of drm_ioremap | Dave Airlie | |
2006-12-19 | remove do munmap 4 args | Dave Airlie | |
2006-08-28 | fix const pointer warnings with file_operations | Dave Airlie | |
2006-08-28 | drm: i810_dma.c: fix pointer arithmetic for 64-bit target | Dave Airlie | |
First warning result from open-coded PTR_ERR, the rest is caused by code like this: *(u32 *) ((u32) buf_priv->kernel_virtual + used) I've also fixed a missing PTR_ERR in i830_dma.c From: Denis Vlasenko <vda.linux@googlemail.com> Signed-off-by: Dave Airlie <airlied@linux.ie> | |||
2006-02-18 | make some functions static from the kernel | Dave Airlie | |
2006-02-18 | major realigment of DRM CVS with kernel code, makes integration much easier | Dave Airlie | |
2005-09-03 | convert ioctl flags to use flags instead of separate ints | Dave Airlie | |
2005-08-16 | add Egberts 32/64 bit patch (its in kernel already...) | Dave Airlie | |
2005-08-05 | Rename the driver hooks in the DRM to something a little more | Eric Anholt | |
understandable: preinit -> load postinit -> (removed) presetup -> firstopen postsetup -> (removed) open_helper -> open prerelease -> preclose free_filp_priv -> postclose pretakedown -> lastclose postcleanup -> unload release -> reclaim_buffers_locked version -> (removed) postinit and version were replaced with generic code in the Linux DRM (drivers now set their version numbers and description in the driver structure, like on BSD). postsetup wasn't used at all. Fixes the savage hooks for initializing and tearing down mappings at the right times. Testing involved at least starting X, running glxgears, killing glxgears, exiting X, and repeating. Tested on: FreeBSD (g200, g400, r200, r128) Linux (r200, savage4) | |||
2005-08-04 | Split the control of master vs root priv. Everything is still marked as | Jon Smirl | |
needing root. | |||
2005-06-16 | Force AGP always for Intel chipsets. | Alan Hourihane | |
Fixes bug #3552 | |||
2005-02-01 | make more functions static in i810 and fix pageflip cleanup | Dave Airlie | |
2005-01-01 | i810/i830 bug with Jon's file operations changes | Dave Airlie | |
2004-11-11 | patch from bug 1803 - will try and push to kernel soon | Dave Airlie | |
2004-10-31 | Allow drivers to override reclaim_buffers in an OS-independent way by | Felix Kuehling | |
passing drm_device_t* as first parameter, like in the BSD version. | |||
2004-10-23 | fix pfn vs page for older kernels (2.6.9-rc kernels many not work..) | Dave Airlie | |
2004-10-22 | Bring in patch from kernel for remap_pfn_range | Jon Smirl | |
2004-10-12 | Breakout heads into their own data structures. | Jon Smirl | |
2004-09-30 | Lindent of core build. Drivers checked for no binary diffs. A few files | Jon Smirl | |
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-30 | Make fops per driver instead of global, remove default flush, poll, read | Jon Smirl | |
functions | |||
2004-09-27 | First check in for DRM that splits core from personality modules | Jon Smirl | |
2004-09-23 | 1) switches from class_sysfs to drm sysfs implementation to allow | Jon Smirl | |
customization 2) compiles again on 2.4, but doesn't work | |||
2004-09-20 | remove HAVE_COUNTERS | Dave Airlie | |
2004-09-05 | merge back bunch of whitespace and misc changes from kernel | Dave Airlie | |
2004-08-30 | implement drm_core_check_feature and use it .. looks lots nicer | Dave Airlie | |
2004-08-27 | __NO_VERSION__ hasn't been needed since 2.3 days ditch it... | Dave Airlie | |
2004-08-24 | Merged drmfntbl-0-0-2 | Dave Airlie | |
2004-08-17 | Merged drmfntbl-0-0-1 | Dave Airlie | |
2004-07-31 | athe patch below optimises the drm code to not do put_user() on memory the | Dave Airlie | |
kernel allocated and then mmap-installed to userspace, but instead makes it use the kernel virtual address directly instead. From: Arjan van de Ven <arjanv@redhat.com> | |||
2004-07-25 | sync up with current 2.6 kernel bk tree - mostly __user annotations | Dave Airlie | |
2004-07-20 | fix some more NULLs from kernel | Dave Airlie | |
2004-04-21 | bug from Linux kernel list caught by checker | Dave Airlie | |
2004-04-10 | patch from Andrew Morton tree from Arjan van de Ven fixes some oopses seen | Dave Airlie | |
with 4G/4G split | |||
2004-04-08 | big whitespace .. this aligns all the whitespace in this file with the bk | Dave Airlie | |
checkout linux tree | |||
2003-11-05 | - Tie the DRM to a specific device: setunique no longer succeeds when given | Eric Anholt | |
a busid that doesn't correspond to the device the DRM is attached to. This is a breaking of backwards-compatibility only for the multiple-DRI-head case with X Servers that don't use interface 1.1. - Move irq_busid to drm_irq.h and make it only return the IRQ for the current device. Retains compatibility with previous X Servers, cleans up unnecessary code. This means no irq_busid on !__HAVE_IRQ, but can be changed if necessary. - Bump interface version to 1.2. This version when set signifies that the control ioctl should ignore the irq number passed in and enable the interrupt handler for the attached device. Otherwise it errors out when the passed-in irq is not equal to the device's. - Store the highest version the interface has been set to in the device. - Fix a recursion on DRM_LOCK in irq_uninstall on FreeBSD. This leaves irq_uninstall being done without the lock in some cases, but it was racey anyways. | |||
2003-10-17 | - Move IRQ functions from drm_dma.h to new drm_irq.h and disentangle them | Eric Anholt | |
from __HAVE_DMA. This will be useful for adding vblank sync support to sis and tdfx. Rename dma_service to irq_handler, which is more accurately what it is. - Fix the #if _HAVE_DMA_IRQ in radeon, r128, mga, i810, i830, gamma to have the right number of underscores. This may have been a problem in the case that the server died without doing its DRM_IOCTL_CONTROL to uninit. | |||
2003-09-25 | Whitespace cleanup (spaces before tabs or instead of tabs). | Eric Anholt | |
2003-08-15 | DA: loads of whitespace .. some from Linus, some from me | Dave Airlie | |
2003-08-13 | DA: patch from Matthew upgraded to latest DRI head to solve issue with i810 | Dave Airlie | |
compatibility | |||
2003-08-11 | DA: code cleanups for i810_dma.c from 2.4 kernel | Dave Airlie | |