Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-06-22 | Use drm_calloc instead of assigning 0. | Michel Dänzer | |
2007-06-18 | fix radeon setparam on 32/64 systems, harder. | David Woodhouse | |
Commit 9b01bd5b284bbf519b726b39f1352023cb5e9e69 introduced a compat_ioctl handler for RADEON_SETPARAM, the sole purpose of which was to handle the fact that on i386, alignof(uint64_t)==4. Unfortunately, this handler was installed for _all_ 64-bit architectures, instead of only x86_64 and ia64. And thus it breaks 32-bit compatibility on every other arch, where 64-bit integers are aligned to 8 bytes in 32-bit mode just the same as in 64-bit mode. Arnd has a cunning plan to use 'compat_u64' with appropriate alignment attributes according to the 32-bit ABI, but for now let's just make the compat_radeon_cp_setparam routine entirely disappear on 64-bit machines whose 32-bit compat support isn't for i386. It would be a no-op with compat_u64 anyway. Signed-off-by: David Woodhouse <dwmw2@infradead.org> | |||
2007-06-15 | First cut at radeon support for the vblank rework. | Jesse Barnes | |
2007-06-15 | i915: Fix handling of breadcrumb counter wraparounds. | Michel Dänzer | |
2007-06-15 | Remove DRIVER_IRQ_VBL(2). | Michel Dänzer | |
If the driver doesn't support vertical blank interrupts, it won't call drm_vblank_init(), and dev->num_crtcs will be 0. Also fix an off-by-one test against dev->num_crtcs. | |||
2007-06-15 | Make vblank waitqueue per CRTC. | Michel Dänzer | |
2007-06-15 | Fix i915 sequence mask. | Thomas Hellstrom | |
2007-06-15 | Indentation fixes. | Thomas Hellstrom | |
2007-06-15 | Fix refcounting / lock race. | Thomas Hellstrom | |
Reported by Steve Wilkins / Michel Dänzer. | |||
2007-06-15 | Locking fixes and instrumentation. | Thomas Hellstrom | |
2007-06-15 | Wake up vblank waitqueue in drm_handle_vblank(). | Michel Dänzer | |
2007-06-15 | Return current sequence number to userspace after blocking wait for vblank. | Michel Dänzer | |
2007-06-15 | Fix memory leaks in vblank error paths. | Michel Dänzer | |
Also use drm_calloc instead of drm_alloc and memset, and use the size of the struct instead of the size of the pointer for allocation... | |||
2007-06-14 | Comment new vblank routines and fixup several issues: | Jesse Barnes | |
- use correct refcount variable in get/put routines - extract counter update from drm_vblank_get - make signal handling callback per-crtc - update interrupt handling logic, drivers should use drm_handle_vblank - move wakeup and counter update logic to new drm_handle_vblank routine - fixup usage of get/put in light of counter update extraction - fix longstanding bug in signal code, update pending counter only *after* we're sure we'll setup signal handling | |||
2007-06-13 | Make sure we read fence->signaled while spinlocked. | Thomas Hellstrom | |
2007-06-13 | Fix fence object deref race. | Thomas Hellstrom | |
2007-06-12 | Update vblank code: | Jesse Barnes | |
- move pre/post modeset ioctl to core - fixup i915 buffer swap - fix outstanding signal count code - create new core vblank init routine - test (works with glxgears) - simplify i915 interrupt handler | |||
2007-06-12 | Initial checkin of vblank rework. Code attempts to reduce the number | Jesse Barnes | |
of vblank interrupt in order to save power. | |||
2007-06-12 | Fix some obvious bugs. | Thomas Hellstrom | |
2007-06-12 | Try to make buffer object / fence object ioctl args 64-bit safe. | Thomas Hellstrom | |
Introduce tile members for future tiled buffer support. Allow user-space to explicitly define a fence-class. Remove the implicit fence-class mechanism. 64-bit wide buffer object flag member. | |||
2007-06-10 | use krh's idr mods to remove lists from idr code | Dave Airlie | |
2007-06-07 | oops must fix this properly at some point | Dave Airlie | |
2007-06-07 | drm: fix radeon setparam alignment issues on 32/64-bit | Dave Airlie | |
2007-06-05 | remove include of linux ioctl32.h from drm drivers | Dave Airlie | |
2007-06-03 | Revert "drm: add new drm_wait_on function to replace macro" | root | |
This reverts commit 6e860d08d0f5b1e9a2d711aaf9fd6b982aa8039e. As I said not a good plan - this macro will have to stay for now, trying to do the vbl code with the inline was a bit messy - may need specialised drm wait on functions | |||
2007-06-03 | radeon: add support for vblank on crtc2 | Dave Airlie | |
This add support for CRTC2 vblank on radeon similiar to the i915 support | |||
2007-06-01 | drm: fixup initialisation of list heads and idr | Dave Airlie | |
2007-05-27 | drm: move context handling code to use linux idr | Dave Airlie | |
2007-05-27 | drm: convert drawable handling to use Linux idr | Dave Airlie | |
This cleans this code up a lot and uses the generic Linux idr which is designed for this. Signed-off-by: Dave Airlie <airlied@linux.ie> | |||
2007-05-26 | drm: make sure the drawable code doesn't call malloc(0). | Michel Dänzer | |
Signed-off-by: Michel Dänzer <michel@tungstengraphics.com> Signed-off-by: Dave Airlie <airlied@linux.ie> | |||
2007-05-26 | Revert "drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls." | Dave Airlie | |
This reverts commit 3fdef0dc2000308b16907b95f637c60acde80a74. ditto not on master yet | |||
2007-05-26 | Revert "drm/ttm: cleanup most of fence ioctl split out" | Dave Airlie | |
This reverts commit 3dfc1400e9fc58c69292d7cf7c2e1653fa5e6991. this shouldn't have gone on master yet | |||
2007-05-26 | whitespace fixups from kernel | Dave Airlie | |
2007-05-26 | ati_pcigart: cut to 80 chars | Dave Airlie | |
2007-05-26 | drm/ttm: cleanup most of fence ioctl split out | Dave Airlie | |
2007-05-26 | drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls. | Dave Airlie | |
This is the first bunch of ioctls | |||
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-05-17 | nouveau: don't build the module by default | Stephane Marchesin | |
2007-05-08 | ttm: complete drm buffer object ioctl split | Dave Airlie | |
retain the op operation for validate/fence operations | |||
2007-05-08 | drm/ttm: remove old fence ioctl | Dave Airlie | |
2007-05-08 | drm/ttm: ioctl cleanup for buffer object - user side only | Dave Airlie | |
This just cleans up the xf86drm.c to what I want and drm.h, I need to fix up the kernel internals to suit these changes now. I've moved to using struct instead of typedefs for the bo and it doesn't look that bad so I'll do the same thing for mm and fence.. | |||
2007-05-06 | s/OJBECTS/OBJECTS/ | Brian | |
2007-05-06 | drm/ttm: cleanup most of fence ioctl split out | Dave Airlie | |
2007-05-06 | drm/ttm: cleanup mm_ioctl ioctls to be separate ioctls. | Dave Airlie | |
This is the first bunch of ioctls | |||
2007-05-06 | drm: remove unused define DRM_HAS_TTM | Dave Airlie | |
2007-04-28 | drm: add new drm_wait_on function to replace macro | Dave Airlie | |
2007-04-28 | remove register usage | Dave Airlie | |
2007-04-28 | remove DRM_GETSAREA and replace with drm_getsarea function | Dave Airlie | |
2007-04-26 | linux: minor indent. | George Sapountzis | |
2007-04-26 | whitespace cleanup | Dave Airlie | |