mesa-drm/shared-core
Thomas Hellstrom e1460426b8 Bugzilla Bug #9457
Add refcounting of user waiters to the DRM hardware lock, so that we can use the
DRM_LOCK_CONT flag more conservatively.

Also add a kernel waiter refcount that if nonzero transfers the lock for the kernel context,
when it is released. This is useful when waiting for idle and can be used
for very simple fence object driver implementations for the new memory manager.

It also resolves the AIGLX startup deadlock for the sis and the via drivers.
i810, i830 still require that the hardware lock is really taken so the deadlock remains
for those two. I'm not sure about ffb. Anyone familiar with that code?
2007-02-13 20:47:30 +01:00
..
drm.h Define __iomem for systems without it. 2007-02-07 21:26:01 -08:00
drm_pciids.txt Add chip family flags to i915 driver, and fix a missing '"' in mach64 ID list. 2007-02-07 21:26:01 -08:00
drm_sarea.h drm: fixup page alignment on SAREA map on ppc64 2006-11-06 11:44:36 +11:00
i915_dma.c Warning fix: correct type of i915_mmio argument. 2007-02-07 21:26:02 -08:00
i915_drm.h i915: ARB_Occlusion_query(MMIO ioctl) support. 2007-01-06 16:22:08 -08:00
i915_drv.h Add chip family flags to i915 driver, and fix a missing '"' in mach64 ID list. 2007-02-07 21:26:01 -08:00
i915_irq.c vblank interrupt fix 2007-01-24 16:33:21 +08:00
i915_mem.c Fix CMDBUFFER path, add heap destroy and flesh out sarea for rotation 2006-01-23 10:05:22 +00:00
imagine_drv.h Add skeletal imagine driver (but don't build it yet). 2005-03-29 01:47:38 +00:00
mach64_dma.c Bug 6242: [mach64] Use private DMA buffers, part #4. 2006-10-02 22:47:26 +03:00
mach64_drm.h Bug 6242: [mach64] Use private DMA buffers, part #4. 2006-10-02 22:47:26 +03:00
mach64_drv.h Bug 6242: [mach64] Use private DMA buffers, part #4. 2006-10-02 22:47:26 +03:00
mach64_irq.c Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
mach64_state.c Bug 6242: [mach64] Use private DMA buffers, part #4. 2006-10-02 22:47:26 +03:00
Makefile.am initial import of nouveau code from nouveau CVS 2006-08-27 08:55:02 +10:00
mga_dma.c Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
mga_drm.h add Egberts 32/64 bit patch (its in kernel already...) 2005-08-16 12:51:57 +00:00
mga_drv.h Bump driver date to reflect airlied's last fix. 2006-03-20 21:40:54 +00:00
mga_irq.c Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
mga_state.c Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
mga_ucode.h Lindent of core build. Drivers checked for no binary diffs. A few files 2004-09-30 21:12:10 +00:00
mga_warp.c Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
nouveau_drm.h nouveau: fix getparam from 32-bit client on 64-bit kernel 2007-01-19 15:41:51 +11:00
nouveau_drv.h nouveau: and of course, I was missing the last nv04 piece. 2007-02-03 06:13:27 +01:00
nouveau_fifo.c nouveau: more work on the nv04 context switch code. 2007-02-06 01:17:32 +01:00
nouveau_irq.c nouveau: and of course, I was missing the last nv04 piece. 2007-02-03 06:13:27 +01:00
nouveau_mem.c nouveau: avoid allocating vram that's used as instance memory. 2007-01-08 00:44:02 +11:00
nouveau_object.c Use nouveau_mem.c to allocate RAMIN. 2006-11-30 10:31:42 +11:00
nouveau_reg.h nouveau: more work on the nv04 context switch code. 2007-02-06 01:17:32 +01:00
nouveau_state.c nouveau: plugin the nv04 graph init function. 2007-02-03 06:00:29 +01:00
nv04_graph.c nouveau: more work on the nv04 context switch code. 2007-02-06 01:17:32 +01:00
nv10_graph.c nouveau: fix nv04 graph routines for new register names. 2007-02-03 05:25:36 +01:00
nv20_graph.c nouveau: rename registers to their proper names. 2007-02-03 04:57:06 +01:00
nv30_graph.c nouveau: rename registers to their proper names. 2007-02-03 04:57:06 +01:00
nv40_graph.c nouveau: rename registers to their proper names. 2007-02-03 04:57:06 +01:00
nv_drv.h Skeleton nv drm driver, to enable DMA in EXA. (Lars Knoll, minor updates by 2005-10-06 23:31:29 +00:00
r128_cce.c Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
r128_drm.h Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
r128_drv.h Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
r128_irq.c fix comment in r128 2006-12-19 17:58:20 +11:00
r128_state.c remove inline from large function 2006-12-19 17:58:12 +11:00
r300_cmdbuf.c Unify radeon offset checking. 2006-12-14 19:31:56 +01:00
r300_reg.h Sync from r300_reg.h from Mesa. 2006-01-20 21:30:07 +00:00
radeon_cp.c radeon: Fix u32 overflows when determining AGP base address in card space. 2007-01-11 09:02:07 +01:00
radeon_drm.h Add support for r200 vertex programs (R200_EMIT_VAP_PVS_CNTL, and new 2006-05-24 18:36:24 +00:00
radeon_drv.h Unify radeon offset checking. 2006-12-14 19:31:56 +01:00
radeon_irq.c Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
radeon_mem.c Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
radeon_state.c Unify radeon offset checking. 2006-12-14 19:31:56 +01:00
savage_bci.c make a savage function static from kernel 2006-12-19 17:58:09 +11:00
savage_drm.h Completeley rewritten Savage DRM which can be considered secure (modulo 2005-01-01 20:22:58 +00:00
savage_drv.h make a savage function static from kernel 2006-12-19 17:58:09 +11:00
savage_state.c fix missing DRM_ERR from kernel 2006-12-19 17:58:03 +11:00
sis_drm.h Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
sis_drv.h fix some sizes in sis_drv.h 2006-12-19 17:58:16 +11:00
sis_ds.c complete fix for attribution 2006-01-02 03:30:57 +00:00
sis_ds.h some fixes from linux kernel 2006-01-02 03:44:23 +00:00
sis_mm.c some fixes from linux kernel 2006-01-02 03:44:23 +00:00
tdfx_drv.h Assert an MIT copyright on sis_drm.h, since one was lacking and I created 2005-11-28 23:10:41 +00:00
via_3d_reg.h VIA update: 2005-01-05 17:44:43 +00:00
via_dma.c via: Try to improve command-buffer chaining. 2007-02-02 09:22:30 +01:00
via_drm.h via: Try to improve command-buffer chaining. 2007-02-02 09:22:30 +01:00
via_drv.c Bugzilla Bug #9457 2007-02-13 20:47:30 +01:00
via_drv.h via: Try to improve command-buffer chaining. 2007-02-02 09:22:30 +01:00
via_ds.c Port the VIA DRM to FreeBSD. Original patch by Jake, with some cleanup by 2005-08-15 18:07:12 +00:00
via_ds.h VIA: Fix sparse warnings (Alexey Dobriyan) 2005-07-15 21:22:51 +00:00
via_irq.c Add some new via chipsets. 2006-12-28 22:17:08 +01:00
via_map.c Add some new via chipsets. 2006-12-28 22:17:08 +01:00
via_mm.c Realign via driver with changes in Linux kernel (mainly whitespace) 2006-01-02 03:25:49 +00:00
via_mm.h VIA: 2005-05-23 20:56:54 +00:00
via_verifier.c Add some new via chipsets. 2006-12-28 22:17:08 +01:00
via_verifier.h Allow for non-power-of-two texture pitch alignment. 2006-12-27 19:38:33 +01:00
via_video.c Lindent some via files 2005-12-16 07:59:13 +00:00