mesa-drm/shared-core
Jesse Barnes c7ee6cc269 Remove broken 'in vblank' accounting
We need to return an accurate vblank count to the callers of
->get_vblank_counter, and in the Intel case the actual frame count
register isn't udpated until the next active line is displayed, so we
need to return one more than the frame count register if we're currently
in a vblank period.

However, none of the various ways of doing this is working yet, so
disable the logic for now.  This may result in a few missed events, but
should fix the hangs some people have seen due to the current code
tripping the wraparound logic in drm_update_vblank_count.
2008-01-24 08:57:04 -08:00
..
drm.h Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08:00
drm_internal.h Add new shared header file drm_internal.h. 2007-11-14 14:28:34 -05:00
drm_pciids.txt drm/i915: add support for E7221 2008-01-23 16:44:51 +10:00
drm_sarea.h drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
i915_dma.c Properly propagate the user-space fence flags. 2008-01-15 10:03:41 +01:00
i915_drm.h drm: more cleanups 2007-11-29 09:38:21 +10:00
i915_drv.h Remove broken 'in vblank' accounting 2008-01-24 08:57:04 -08:00
i915_irq.c Remove broken 'in vblank' accounting 2008-01-24 08:57:04 -08:00
i915_mem.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10: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 mach64: some more minor cleanups 2008-01-03 17:44:04 +10:00
mach64_drm.h drm: detypedef drm.h and fixup all problems 2007-07-16 11:22:15 +10:00
mach64_drv.h Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08:00
mach64_irq.c Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08:00
mach64_state.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
Makefile.am Move types shared with user mode to xgi_drm.h. 2007-07-09 16:33:14 -07:00
mga_dma.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
mga_drm.h drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
mga_drv.h Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08:00
mga_irq.c Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08:00
mga_state.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10: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 Remove DRM_ERR OS macro. 2007-07-20 12:53:52 -07:00
nouveau_dma.c nouveau: store user control reg offsets in channel struct 2007-11-14 04:09:53 +11:00
nouveau_dma.h nouveau: store user control reg offsets in channel struct 2007-11-14 04:09:53 +11:00
nouveau_drm.h Revert "nouveau: stub superioctl" 2007-11-14 05:11:11 +11:00
nouveau_drv.h Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08:00
nouveau_fifo.c nouveau: Also wait until CACHE1 gets emptied. 2007-11-14 05:36:20 +11:00
nouveau_irq.c Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08:00
nouveau_mem.c nouveau: Fix warning in nouveau_mem.c 2008-01-23 16:40:19 +01:00
nouveau_notifier.c drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nouveau_object.c drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nouveau_reg.h [PATCH] nouveau: reset AGP on init for < nv40 2008-01-04 05:08:15 +01:00
nouveau_state.c nouveau: don't forget NV80. 2008-01-21 21:11:47 +01:00
nouveau_swmthd.c drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nouveau_swmthd.h drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nv04_fb.c drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nv04_fifo.c nouveau: funcs to determine active channel on PFIFO. 2007-11-14 03:27:37 +11:00
nv04_graph.c nv05: enable ctx/op methods, and ignore patch valid failures. 2008-01-11 12:51:08 +11:00
nv04_instmem.c nouveau: funcs to determine active channel on PFIFO. 2007-11-14 03:27:37 +11:00
nv04_mc.c nouveau: AGP reset correction - don't touch FW bit 2008-01-08 20:30:21 +00:00
nv04_timer.c drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nv10_fb.c drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nv10_fifo.c nouveau: funcs to determine active channel on PFIFO. 2007-11-14 03:27:37 +11:00
nv10_graph.c nouveau: funcs to determine active channel on PFIFO. 2007-11-14 03:27:37 +11:00
nv20_graph.c [PATCH] nouveau: Fix nv20/30 context loading 2008-01-04 05:07:35 +01:00
nv40_fb.c drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nv40_fifo.c nouveau: funcs to determine active channel on PFIFO. 2007-11-14 03:27:37 +11:00
nv40_graph.c drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nv40_mc.c drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
nv50_fifo.c nv50: some cleanups + small changes 2008-01-07 17:08:59 +11:00
nv50_graph.c nv50: more small changes 2008-01-07 18:56:44 +11:00
nv50_instmem.c nv50: oops, lost some state saving along the way somewhere. 2008-01-07 18:19:16 +11:00
nv50_mc.c nouveau: enable/disable engine-specific interrupts in _init()/_takedown() 2007-08-08 10:49:05 +10: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 drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
r128_drm.h drm: remove XFREE86_VERSION macros 2007-08-28 15:17:36 +10:00
r128_drv.h Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08:00
r128_irq.c Merge branch 'master' into vblank-rework, fixup remaining drivers 2007-10-30 12:52:46 -07:00
r128_state.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
r300_cmdbuf.c r500: add a bunch of all r5xx pci ids.. 2007-11-27 08:43:14 +10:00
r300_reg.h drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
radeon_cp.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
radeon_drm.h radeon: refactor out the fb/agp location read/write. 2007-11-18 19:25:31 +10:00
radeon_drv.h Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08:00
radeon_irq.c Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08:00
radeon_mem.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
radeon_state.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
savage_bci.c drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10:00
savage_drm.h drm: detypedef drm.h and fixup all problems 2007-07-16 11:22:15 +10:00
savage_drv.h drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00
savage_state.c drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10: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 drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10: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 Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE. 2007-07-20 18:16:42 -07: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 drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10:00
via_dma.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
via_drm.h drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10:00
via_drv.c Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08:00
via_drv.h Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08: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 Merge branch 'master' into vblank-rework, including mach64 support 2008-01-22 09:42:37 -08:00
via_map.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
via_mm.c Replace DRM_IOCTL_ARGS with (dev, data, file_priv) and remove DRM_DEVICE. 2007-07-20 18:16:42 -07:00
via_mm.h VIA: 2005-05-23 20:56:54 +00:00
via_verifier.c drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10:00
via_verifier.h drm: major whitespace/coding style realignment with kernel 2007-11-22 16:10:36 +10:00
via_video.c drm: cleanup DRM_DEBUG() parameters 2008-01-03 16:56:04 +10:00
xgi_drm.h drm: remove lots of spurious whitespace. 2007-11-05 12:42:22 +10:00