Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-03-06 | ttm: make sure userspace can't destroy kernel create memory managers | Dave Airlie | |
this adds something to say the kernel initialised the memory region not the userspace. and blocks userspace from deallocating kernel areas | |||
2008-03-06 | drm/ttm: add ioctl to get back memory managed area sized | Dave Airlie | |
taken from modesetting branch but could be useful outside it. | |||
2008-03-05 | i915: Evict if relocatee buffer is CACHED_MAPPED before | Xiang, Haihao | |
writting relocations, otherwise the GPU probably sees some inconsistent data. Fix fd.o bug#14656 | |||
2008-03-05 | fixup previous merge | Dave Airlie | |
2008-03-05 | drm: fixup compat with old x.org drivers | Dave Airlie | |
2008-03-05 | Merge remote branch 'origin/master' into modesetting-101 | Dave Airlie | |
Conflicts: linux-core/drm_compat.c | |||
2008-03-04 | Clarify through the names what drm_ttm_alloc_pages() and friend actually did. | Eric Anholt | |
These are all about the page directory (pointers to pages) rather than the actual pages backing the allocation. | |||
2008-02-29 | FIX_KMAP_BEGIN requires CONFIG_HIMEM (see include/asm-i386.h/fixmap.h) | Patrice Mandin | |
2008-02-29 | Fix compilation breakage on x86-64. | Thomas Hellstrom | |
2008-02-29 | agp: export the correct symbol | Dave Airlie | |
2008-02-28 | Add a compat kmap_atomic_prot_pfn to do quick kernel map / unmaps of | Thomas Hellstrom | |
PCI- or high memory. This is substantially more efficient than drm_bo_kmap, since the mapping only lives on a single processor. Unmapping is done use kunmap_atomic(). Flushes only a single tlb() entry. Add a support utility int drm_bo_pfn_prot() that returns the pfn and desired page protection for a given bo offset. This is all intended for relocations in bound TTMS or vram. Mapping-accessing-unmapping must be atomic, either using preempt_xx() macros or a spinlock. | |||
2008-02-28 | drm: add modesetting as a driver feature. | Dave Airlie | |
This change adds a driver feature that for i915 is controlled by a module parameter. You now need to do insmod i915.ko modeset=1 to enable it the modesetting paths. It also fixes up lots of X paths. I can run my new DDX driver on this code with and without modesetting enabled | |||
2008-02-26 | radeon: remove TTM from an earlier merge | Jerome Glisse | |
2008-02-26 | Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into ↵ | Alan Hourihane | |
modesetting-101 Conflicts: shared-core/i915_dma.c | |||
2008-02-26 | DRM_INFO -> DRM_DEBUG | Alan Hourihane | |
2008-02-26 | DRM_INFO -> DRM_DEBUG | Alan Hourihane | |
2008-02-26 | define PRETHAW | Alan Hourihane | |
2008-02-26 | Implement short circuit for base change only | Alan Hourihane | |
Allow mode to be set with fb_id set to -1, meaning set the mode with the current fb (if we have one bound). Allow intelfb to hook back up it's fb if modesetting clears it (maybe temporary). Move any crtc->fb related register changes to set_base in intel_fb. General intelfb cleanups. | |||
2008-02-26 | drm: fix pick crtcs mode selection code | Dave Airlie | |
2008-02-22 | i915: put ARX back into index mode before doing restore | Jesse Barnes | |
Fixes resume from hibernate in some configurations. | |||
2008-02-22 | silence warning | Alan Hourihane | |
2008-02-22 | modesetting: fix memory leak and misallocation | Dave Airlie | |
2008-02-22 | add ioctl to get back memory managed area sized - used for kernel inited areas | Dave Airlie | |
2008-02-22 | hopefully shit works now without this... | Dave Airlie | |
2008-02-21 | Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into ↵ | Alan Hourihane | |
modesetting-101 | |||
2008-02-21 | Don't free irq resources until after we've unregistered the handler. | Kristian Høgsberg | |
2008-02-21 | Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into ↵ | Alan Hourihane | |
modesetting-101 Conflicts: linux-core/drm_sysfs.c | |||
2008-02-21 | linux: Clean up vblank related resources from drm_irq_uninstall(). | Michel Dänzer | |
This fixes at least two problems: * The vblank_disable_fn timer callback could get called after the DRM was de-initialized, e.g. on X server shutdown. * Leak of vblank related resources when disabling and re-enabling the IRQ, e.g. on an X server reset. | |||
2008-02-20 | compatibility code for pci_get_bus_and_slot() | Alan Hourihane | |
2008-02-20 | remove more offset | Dave Airlie | |
2008-02-20 | drm/fb: get rid of offset from structure use bo offset | Dave Airlie | |
2008-02-20 | ttm: make sure userspace can't destroy kernel create memory managers | Dave Airlie | |
2008-02-20 | drm: add support for passing state into the suspend hooks. | Dave Airlie | |
fix i915 driver to use state for hibernate save avoidance. Signed-off-by: Dave Airlie <airlied@redhat.com> | |||
2008-02-19 | Fix up conflicts for DRI2 (untested) | Alan Hourihane | |
2008-02-18 | Merge branch 'master' of git+ssh://git.freedesktop.org/git/mesa/drm into ↵ | Alan Hourihane | |
modesetting-101 Conflicts: linux-core/i915_fence.c linux-core/via_fence.c shared-core/i915_dma.c shared-core/i915_drv.h shared-core/i915_irq.c | |||
2008-02-16 | [915]: more registers for S3 (DSPCLK_GATE_D, CACHE_MODE_0, MI_ARB_STATE) | Keith Packard | |
Failing to preserve the MI_ARB_STATE register was causing FIFO underruns on the VGA output on my HP 2510p after resume. | |||
2008-02-15 | i915: initial (and untested) TV out support | Jesse Barnes | |
Ported from xf86-video-intel. Still need to tie in TV modes somehow, though preferably w/o using the properties mechanism. | |||
2008-02-15 | fb: fixup the offset by getting it from the right place | Dave Airlie | |
2008-02-15 | various fixes from trying to get userspace started | Dave Airlie | |
2008-02-15 | switch naming to new proposed scheme | Dave Airlie | |
2008-02-15 | remove drm_minors_limit | Dave Airlie | |
2008-02-13 | start moving over to proper hierarchy wrt master accesses | Dave Airlie | |
2008-02-13 | major port of multi-master ideas into modesetting | Dave Airlie | |
2008-02-13 | drm: re-write minor number allocation to use an idr. | Dave Airlie | |
Fixup the minor number allocation scheme to use an idr and move the control nodes up higher. | |||
2008-02-07 | Restore pipeconf regs unconditionally | Jesse Barnes | |
On many chipsets, the checks for DPLL enable or VGA mode will prevent the pipeconf regs from being restored, which could result in a blank display or X failing to come back after resume. So restore them unconditionally along with actually restoring pipe B's palette correctly. | |||
2008-02-07 | Revert "DRM_CONTROL_ALLOW logic was reversed" | Alan Hourihane | |
This reverts commit 7af1bb874d9b8b1b8760ad200cee587c41c23434. | |||
2008-02-07 | i915: save/restore interrupt state | Jesse Barnes | |
On resume, if the interrupt state isn't restored correctly, we may end up with a flood of unexpected or ill-timed interrupts, which could cause the kernel to disable the interrupt or vblank events to happen at the wrong time. So save/restore them properly. | |||
2008-02-07 | Fix vblank enable/disable callbacks | Jesse Barnes | |
There were two problems with the existing callback code: the vblank enable callback happened multiple times per disable, making drivers more complex than they had to be, and there was a race between the final decrement of the vblank usage counter and the next enable call, which could have resulted in a put->schedule disable->get->enable->disable sequence, which would be bad. So add a new vblank_enabled array to track vblank enable on per-pipe basis, and add a lock to protect it along with the refcount + enable/disable calls to fix the race. | |||
2008-02-07 | Added kernel part of hotplug ioctl | Jakob Bornecrantz | |
2008-02-05 | DRM_CONTROL_ALLOW logic was reversed | Alan Hourihane | |