aboutsummaryrefslogtreecommitdiff
path: root/bsd-core/drm_context.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-04-24 19:09:55 +0000
committerEric Anholt <anholt@freebsd.org>2003-04-24 19:09:55 +0000
commita147df879b3b850612222759c14f4142d2406e74 (patch)
treeaea9241e04e3cefbe123228568bbe3b07d41e9eb /bsd-core/drm_context.c
parentd6a82ff9c160acbb7db5bee2cde45818d1e8548e (diff)
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.
Diffstat (limited to 'bsd-core/drm_context.c')
-rw-r--r--bsd-core/drm_context.c2
1 files changed, 0 insertions, 2 deletions
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;
}