Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-03 | vblank: Don't wait or update the counter while the CRTC is supposedly disabled. | Michel Dänzer | |
Without kernel modesetting, this requires cooperation of the userspace modesetting driver. We may have to leave the vblank interrupt enabled otherwise to avoid problems. | |||
2008-06-03 | vblank: Clean up compensation for spurious wraparounds of driver counter. | Michel Dänzer | |
Only compensate when the driver counter actually appears to have moved backwards. The compensation deltas need to be incremental instead of absolute; drop the vblank_offset field and just use atomic_sub(). | |||
2008-06-03 | vblank: Special-case driver vblank counter going back by 1. | Michel Dänzer | |
Turns out the radeon driver is affected by the same problem that prompted i915 to revert to less useful counter flipping at the end of the vblank interval. In the long term, we can hopefully implement more reliable methods to achieve counter flipping at the beginning of vblank, but otherwise this should be an acceptable workaround. | |||
2008-06-03 | vblank: Don't return current sequence number and time if interrupted by signal. | Michel Dänzer | |
2008-06-03 | Revert "don't copy back if an error was returned." | Michel Dänzer | |
This reverts commit 6671ad1917698b6174a1af314b63b3800d75248c. The vblank ioctl needs to update the userspace parameters when interrupted by a signal, which was prevented by this. Let's see if this breaks other ioctls... | |||
2008-06-03 | drm: sg alloc should write back the handle to userspace | Dave Airlie | |
2008-06-03 | drm/ati_pcigart: use proper page mapping function | Dave Airlie | |
This should be pci_map_page not pci_map_single | |||
2008-06-02 | [intel-gem] reloc_and_validate_object → object_bind_and_relocate | Keith Packard | |
Just renaming this function and related parameters to match terminology used elsewhere in the driver. | |||
2008-06-02 | [intel-gem] Propagate set_domain errors. | Keith Packard | |
set_domain can block waiting for rendering to complete. If that process is interrupted by a signal, it can return -EINTR. Catch this error in all callers and correctly deal with the result. | |||
2008-06-02 | more checks for NULL encoder so we don't segfault. | Alan Hourihane | |
2008-06-02 | Fix warnings | Alan Hourihane | |
2008-06-02 | drm: initial mode object groups. | Dave Airlie | |
This creates a default group attached to the legacy drm minor nodes. It covers all the objects in the set. make set resources only return objects for this set. Need to fix up other functions to only work on objects in their allowed set. | |||
2008-06-02 | drm/modesetting: redo object handles around a core object. | Dave Airlie | |
handle crtc/encoders/connectors/fb/mode/property/blob using this system. | |||
2008-06-02 | drm: only report framebuffers available on this fd. | Dave Airlie | |
Not 100% sure this is a good idea, but I think I'd rather things communicate with bo handles not fb ids. | |||
2008-06-02 | drm: add functions to get/set gamma ramps | Dave Airlie | |
2008-06-01 | [FreeBSD] Declare vblank_disable_fn callout MPSAFE. | Robert Noland | |
2008-06-01 | [FreeBSD] Get rid of vbl_lock and re-use irq_lock. | Robert Noland | |
2008-06-02 | Merge branch 'modesetting-101-encoders' into modesetting-101 | Dave Airlie | |
2008-06-02 | drm: fixup encoder picking in set_config stage | Dave Airlie | |
2008-06-02 | drm/modesetting: add best encoder finding for modesetting | Dave Airlie | |
This asks the driver to suggest the best encoder for the connector during the pick crtcs stage. Need to also do this during mode setting stages | |||
2008-06-02 | drm/modesetting: move some connector functions to helper. | Dave Airlie | |
Migrated the output mode collection into the helper. | |||
2008-06-02 | drm: fixup some interfaces so test code works again | Dave Airlie | |
2008-06-02 | drm/modesetting: another re-org of some internals. | Dave Airlie | |
Move dpms into the helper functions. Move crtc into the encoder. Move disable unused functions into the helper. | |||
2008-06-01 | [FreeBSD] Add symlink for radeon_microcode.h | Robert Noland | |
2008-06-01 | [FreeBSD] Call drm_vblank_cleanup during irq uninstall | Robert Noland | |
I needed to re-arrange some functions for this. Also needed to call DRM_SPINUNINIT on the vbl_lock during cleanup. | |||
2008-05-30 | RADEON: fix typo in last commit | Alex Deucher | |
2008-05-30 | Merge commit 'origin/master' into drm-gem | Eric Anholt | |
Conflicts: linux-core/Makefile.kernel shared-core/i915_drv.h shared-core/nouveau_state.c | |||
2008-05-30 | [intel-gem] Only update obj->write_domain if we're actually changing it. | Eric Anholt | |
The problem was revealed where on 965, the display list vertex buffer would see: create -> (CPU, CPU) set_domain (CPU, CPU) -> (CPU, CPU) set_comain (CPU, 0) -> (CPU, 0) (no clflush occurred) execbuf (GPU, 0) -> (CPU+GPU, 0) (still no clflush) instead of: create -> (CPU, CPU) set_domain (CPU, CPU) -> (CPU, CPU) set_comain (CPU, 0) -> (CPU, CPU) execbuf (GPU, 0) -> (CPU+GPU, 0) (clflushed) | |||
2008-05-30 | [intel-gem] Add an option to check GTT versus CPU coherency at execbuf time. | Eric Anholt | |
2008-05-30 | Fix ivch i2c read function to use the "special" i2c format. | Kristian Høgsberg | |
2008-05-30 | r500: attempt to make AGP work by programming agp base in the MC correctly | Dave Airlie | |
2008-05-30 | drm: switch possible crtc/clones over to encoders | Dave Airlie | |
2008-05-30 | modesetting: drop crtcs/clones from the connectors | Dave Airlie | |
2008-05-30 | modesetting: the great renaming. | Dave Airlie | |
Okay we have crtc, encoder and connectors. No more outputs exposed beyond driver internals I've broken intel tv connector stuff. Really for TV we should have one TV connector, with a sub property for the type of signal been driven over it | |||
2008-05-30 | drm: attach an encoder. | Dave Airlie | |
Time to do some renaming on the connectors I think | |||
2008-05-30 | drm: fix a couple of bugs in the encoder return to userspace | Dave Airlie | |
2008-05-30 | drm: add encoder attach/detach | Dave Airlie | |
2008-05-30 | tests: add basic encoder reading to test | Dave Airlie | |
2008-05-30 | drm: add encoder free function | Dave Airlie | |
2008-05-30 | drm: init the encoder list/count | Dave Airlie | |
2008-05-30 | drm: add red hat copyright. | Dave Airlie | |
2008-05-30 | drm: add encoder ids to the output handling | Dave Airlie | |
2008-05-30 | drm: add more encoder interfaces | Dave Airlie | |
2008-05-30 | libdrm: add encoder retrival | Dave Airlie | |
2008-05-30 | drm: add encoder / get encoder to the modesetting resources interface | Dave Airlie | |
2008-05-30 | drm: remove unused init func from outputs | Dave Airlie | |
2008-05-30 | drm/modesetting: add initial encoder structures and setup functions | Dave Airlie | |
2008-05-30 | modesetting: reorganise out crtc/outputs are allocated. | Dave Airlie | |
Use subclassing from the drivers to allocate the objects. This saves two objects being allocated for each crtc/output and generally makes exit paths cleaner. | |||
2008-05-29 | [intel-gem] Write the presumed_offset back out after updating it. | Eric Anholt | |
Otherwise, 965 constant state buffers get re-relocated every exec. Ouch. | |||
2008-05-28 | [intel-gem] Clean up active/inactive/flushing list debugging. | Keith Packard | |