diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2003-04-22 10:18:29 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2003-04-22 10:18:29 +0000 |
commit | 056762a9104997569b09416c35d9a0bfef175e1f (patch) | |
tree | 1f152e0cc367a5321f735ea974d1eae3e13e4781 /linux/drm_context.h | |
parent | 5141da97f680235d10d74737d5444963d2080072 (diff) |
remove unused dma histogram code
Diffstat (limited to 'linux/drm_context.h')
-rw-r--r-- | linux/drm_context.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/linux/drm_context.h b/linux/drm_context.h index 944e1be2..646b2236 100644 --- a/linux/drm_context.h +++ b/linux/drm_context.h @@ -227,9 +227,6 @@ int DRM(context_switch)( drm_device_t *dev, int old, int new ) return -EBUSY; } -#if __HAVE_DMA_HISTOGRAM - dev->ctx_start = get_cycles(); -#endif DRM_DEBUG( "Context switch from %d to %d\n", old, new ); @@ -257,11 +254,6 @@ int DRM(context_switch_complete)( drm_device_t *dev, int new ) /* If a context switch is ever initiated when the kernel holds the lock, release that lock here. */ -#if __HAVE_DMA_HISTOGRAM - atomic_inc( &dev->histo.ctx[DRM(histogram_slot)(get_cycles() - - dev->ctx_start)] ); - -#endif clear_bit( 0, &dev->context_flag ); wake_up( &dev->context_wait ); |