Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-10-02 | Bug 6242: [mach64] Use private DMA buffers, part #1. | George Sapountzis | |
Factor out from mach64_freelist_get() the code to reclaim a completed buffer, this is to improve readability for me. | |||
2006-10-02 | Bug 6209: [mach64] AGP DMA buffers not mapped correctly. | George Sapountzis | |
Map the DMA buffers from the same linear address as the vertex bufs. If dev->agp_buffer_token is not set, mach64 drm maps the DMA buffers from linear address 0x0. | |||
2006-10-02 | Fix type of second argument to spin_lock_irqsave(). | Michel Dänzer | |
2006-10-02 | Make locked tasklet handling more robust. | Michel Dänzer | |
Initialize the spinlock unconditionally when struct drm_device is filled in, and return early in drm_locked_tasklet() if the driver doesn't support IRQs. | |||
2006-10-02 | drm_rmdraw: Declare id and idx as signed so testing for < 0 works as intended. | Felix Kühling | |
2006-09-29 | i915: Only schedule vblank tasklet if there are scheduled swaps pending. | Michel Dänzer | |
This fixes issues on X server startup with versions of xf86-video-intel that enable the IRQ before they have a context ID. | |||
2006-09-28 | i915: Avoid mis-counting vblank interrupts when they're only enabled for pipe A. | Michel Dänzer | |
It looks like 'after a while', I915REG_INT_IDENTITY_R for some reason always has VSYNC_PIPEB_FLAG set in the interrupt handler, even though pipe B is disabled. So we only increase dev->vbl_received if the corresponding bit is also set in dev->vblank_pipe. | |||
2006-09-28 | i915: Bump minor for swap scheduling ioctl and secondary vblank support. | Michel Dänzer | |
2006-09-28 | i915_vblank_swap: Add support for DRM_VBLANK_NEXTONMISS. | Michel Dänzer | |
2006-09-28 | Only return EBUSY after we've established we need to schedule a new swap. | Michel Dänzer | |
2006-09-28 | Core vsync: Don't clobber target sequence number when scheduling signal. | Michel Dänzer | |
It looks like this would have caused signals to always get sent on the next vertical blank, regardless of the sequence number. | |||
2006-09-28 | Core vsync: Add flag DRM_VBLANK_NEXTONMISS. | Michel Dänzer | |
When this flag is set and the target sequence is missed, wait for the next vertical blank instead of returning immediately. | |||
2006-09-28 | Fix 'sequence has passed' condition in i915_vblank_swap(). | Michel Dänzer | |
2006-09-28 | Add SAREA fileds for determining which pipe to sync window buffer swaps to. | Michel Dänzer | |
2006-09-28 | Add definition of DRM_VBLANK_SECONDARY. | Michel Dänzer | |
2006-09-28 | Make handling of dev_priv->vblank_pipe more robust. | Michel Dänzer | |
Initialize it to default value if it hasn't been set by the X server yet. In i915_vblank_pipe_set(), only update dev_priv->vblank_pipe and call i915_enable_interrupt() if the argument passed from userspace is valid to avoid corrupting dev_priv->vblank_pipe on invalid arguments. | |||
2006-09-28 | DRM_I915_VBLANK_SWAP ioctl: Take drm_vblank_seq_type_t instead of pipe number. | Michel Dänzer | |
Handle relative as well as absolute target sequence numbers. Return error if target sequence has already passed, so userspace can deal with this situation as it sees fit. On success, return the sequence number of the vertical blank when the buffer swap is expected to take place. Also add DRM_IOCTL_I915_VBLANK_SWAP definition for userspace code that may want to use ioctl() instead of drmCommandWriteRead(). | |||
2006-09-28 | Change first valid DRM drawable ID to be 1 instead of 0. | Michel Dänzer | |
This makes it easier for userspace to know when it needs to allocate an ID. Also free drawable information memory when it's no longer needed. | |||
2006-09-28 | Add copyright notice. | Michel Dänzer | |
2006-09-28 | i915: Add ioctl for scheduling buffer swaps at vertical blanks. | Michel Dänzer | |
This uses the core facility to schedule a driver callback that will be called ASAP after the given vertical blank interrupt with the HW lock held. | |||
2006-09-28 | Locking and memory management fixes. | Michel Dänzer | |
2006-09-28 | Drop tasklet locked driver callback when uninstalling IRQ. | Michel Dänzer | |
2006-09-28 | Export drm_get_drawable_info symbol from core. | Michel Dänzer | |
2006-09-28 | Hook up DRM_IOCTL_UPDATE_DRAW ioctl. | Michel Dänzer | |
2006-09-28 | Only reallocate cliprect memory if the number of cliprects changes. | Michel Dänzer | |
Also improve diagnostic output. | |||
2006-09-28 | Add support for tracking drawable information to core | Michel Dänzer | |
Actually make the existing ioctls for adding and removing drawables do something useful, and add another ioctl for the X server to update drawable information. The only kind of drawable information tracked so far is cliprects. | |||
2006-09-28 | Add support for interrupt triggered driver callback with lock held to DRM core. | Michel Dänzer | |
2006-09-28 | Add support for secondary vertical blank interrupt to i915 driver. | Michel Dänzer | |
When the vertical blank interrupt is enabled for both pipes, pipe A is considered primary and pipe B secondary. When it's only enabled for one pipe, it's always considered primary for backwards compatibility. | |||
2006-09-28 | Add support for secondary vertical blank interrupt to DRM core. | Michel Dänzer | |
2006-09-22 | bug 5942: add stubs for drm_mtrr_add/del for non-MTRR configured linux | Felix Kuhling | |
2006-09-22 | bug 7092 : add pci ids for mach64 in Dell poweredge 4200 | Anish Mistry | |
2006-09-20 | do a TCL state flush before accessing VAP_CNTL to prevent lockups on r200 ↵ | Roland Scheidegger | |
when enabling/disabling vertex programs | |||
2006-09-18 | drm: put domain number back to 0, domain support is seriously fubar.. | Dave Airlie | |
2006-09-15 | Use register writes instead of BITBLT_MULTI packets for buffer swap blits. | Michel Dänzer | |
This takes up two more ring buffer entries per rectangle blitted but makes sure the blit is performed top to bottom, reducing the likelyhood of tearing. | |||
2006-09-12 | drm: use radeon specific names for radeon flags | Dave Airlie | |
2006-09-06 | Use the DRM_INIT_WAITQUEUE argument (needed on Linux) to avoid a warning. | Eric Anholt | |
2006-09-06 | Put the PCI device/vendor id in the drm_device_t. | Eric Anholt | |
This helps us unbreak FreeBSD DRM from the 965 changes. | |||
2006-09-06 | Add a typedef for u64. | Eric Anholt | |
2006-08-28 | drm: lots of small cleanups and whitespace issues fixed up | Dave Airlie | |
remove a mach64 warning, align a lot of things from linux kernel | |||
2006-08-28 | add static function, and remove bad attributions | Dave Airlie | |
2006-08-28 | fix const pointer warnings with file_operations | Dave Airlie | |
2006-08-28 | remove local copies of pci domain/bus/slot/num | Dave Airlie | |
2006-08-28 | remove some DRM_ARRAY_SIZE from linux core code | Dave Airlie | |
2006-08-28 | fixup some of the comments in drm_context.c | 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-08-26 | Bug #7595: Avoid u32 overflows in radeon_check_and_fixup_offset(). | Michel Dänzer | |
The overflows could cause valid offsets to get rejected under some circumstances, e.g. when the framebuffer resides at the very end of the card's address space. | |||
2006-08-23 | Fix previous commit: Only fall back to hashed handles | Thomas Hellstrom | |
when there is a duplicate handle error. Not for other errors. | |||
2006-08-23 | Allow multiple addMaps with the same 32-bit map offset. | Thomas Hellstrom | |
(Reported by Dave Airlie) | |||
2006-08-23 | Fix hashtab implementation leaking illegal error codes to user space. | Thomas Hellstrom | |
(Reported by Dave Airlie) | |||
2006-08-16 | Remove hash tables on DRM exit. | Thomas Hellstrom | |