Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-06-22 | Fix vblank wait condition. | Michel Dänzer | |
Sync-to-vblank actually works again for me with radeon. | |||
2007-06-22 | Use drm_calloc instead of assigning 0. | Michel Dänzer | |
2007-06-22 | drm_modeset_ctl_t fixes. | Michel Dänzer | |
s/u64/drm_u64_t/ to allow userspace code using drm.h to compile. Move 64 bit arg member to the beginning to avoid alignment issues with 32 bit userspace on 64 bit kernels. | |||
2007-06-22 | Remove mask parameter from radeon_acknowledge_irqs(). | Michel Dänzer | |
Simply always acknowledge all interrupts we're interested in, to avoid hard hangs when an unexpected interrupt is flagged. | |||
2007-06-21 | Merge branch 'vblank-rework' into vblank | Jesse Barnes | |
2007-06-21 | RADEON: fix race in vblank interrupt handling | Jesse Barnes | |
It's possible that we disable vblank interrupts and clear the corresponding flag in irq_enable_reg, but receive an interrupt at just the wrong time, causing us to not ack it properly, nor report to the core kernel that it was handled. Fix that case by always handling vblank interrupts, even if the irq_enable_reg field is clear. | |||
2007-06-21 | r300: Synchronized the register defines file; documentation changes. | Oliver McFadden | |
2007-06-21 | r300: Allow writes to R300_VAP_PVS_WAITIDLE. | Oliver McFadden | |
2007-06-18 | Remove broken CRTC enable checks and incorrect user irq enable in set_pipe | Jesse Barnes | |
routine. | |||
2007-06-18 | radeon: VBlank rework fixups. | Michel Dänzer | |
Fix range of frame counter registers. Use DRM_ERR() instead of Linux specific error codes in shared code. Remove duplicate register definitions and superfluous local variables. | |||
2007-06-18 | r300: Registers 0x2220-0x2230 are known as R300_VAP_CLIP_X_0-R300_VAP_CLIP_Y_1. | Oliver McFadden | |
2007-06-18 | r300: Synchronized the register defines file again. | Oliver McFadden | |
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 | Remove broken crtc enable checks, radeon does it slightly differently | Jesse Barnes | |
(this makes get_vblank_counter return an actual value). | |||
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 | i915: Fix tests for vblank interrupts being enabled on CRTC by X server. | 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 | Fix drmMMUnlock / drmMMLock return values. | Thomas Hellstrom | |
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 | Remove unnecessary (and uncommented!) read barrier from the interrupt | Jesse Barnes | |
path. It doesn't appear to serve any useful purpose. | |||
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-08 | r300: Added the CP maximum fetch size and ring rptr update variables. | Oliver McFadden | |
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-07 | radeon: PCIGART memory is Can't map aperture as well there is one | Dave Airlie | |
on the CPU.... with this my indirect buffers at least start to live.. (cherry picked from commit 699cd9fc6c3794856f7e602088c77d0dfc11a122) | |||
2007-06-05 | r300: Small correction to the previous commit. | Oliver McFadden | |
2007-06-05 | r300: Document more of the RADEON_RBBM_STATUS register. | Alex Deucher | |
2007-06-05 | Add support for the G33, Q33, and Q35 chipsets. | Wang Zhenyu | |
These require that the status page be referenced by a pointer in GTT, rather than phsyical memory. So, we have the X Server allocate that memory and tell us the address, instead. | |||
2007-06-05 | set start to gart_vm_start at least | Dave Airlie | |
2007-06-05 | add wbinvd calls | Dave Airlie | |
2007-06-05 | remove include of linux ioctl32.h from drm drivers | Dave Airlie | |
2007-06-05 | invalidate gart tlb on PCIE after table change | Dave Airlie | |
2007-06-05 | take the lock earlier in ttmtest | Dave Airlie | |
2007-06-05 | complete PCIE backend for ttm | Dave Airlie | |
ttm test runs with it at least, needs to do more testing on it | |||
2007-06-05 | WIP cleanup | Dave Airlie | |