From a147df879b3b850612222759c14f4142d2406e74 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Thu, 24 Apr 2003 19:09:55 +0000 Subject: Remove more gamma DMA infrastructure. Most of this code was copied straight from linux, so it could be added back if some driver needed it in the future. --- bsd-core/drm_context.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'bsd-core/drm_context.c') diff --git a/bsd-core/drm_context.c b/bsd-core/drm_context.c index 2293a806..dabf5ca9 100644 --- a/bsd-core/drm_context.c +++ b/bsd-core/drm_context.c @@ -226,7 +226,6 @@ int DRM(context_switch)( drm_device_t *dev, int old, int new ) int DRM(context_switch_complete)( drm_device_t *dev, int new ) { dev->last_context = new; /* PRE/POST: This is the _only_ writer. */ - dev->last_switch = jiffies; if ( !_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock) ) { DRM_ERROR( "Lock isn't held after context switch\n" ); @@ -236,7 +235,6 @@ int DRM(context_switch_complete)( drm_device_t *dev, int new ) when the kernel holds the lock, release that lock here. */ clear_bit( 0, &dev->context_flag ); - DRM_WAKEUP( (void *)&dev->context_wait ); return 0; } -- cgit v1.2.3