diff options
author | Eric Anholt <anholt@freebsd.org> | 2003-04-24 00:25:36 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2003-04-24 00:25:36 +0000 |
commit | 1fc0a5e1e4c43a0e9fe8b0d9860f22ae8e820d46 (patch) | |
tree | 396b905a16cb361eefbd6dc884c931a51fe9c7b2 /bsd-core/drm_context.c | |
parent | e15b0b6a1b95e4145363b15e1a581ee230b2f9a2 (diff) |
Make DRM(read) and DRM(poll) stubs and remove DRM(write) and
DRM(write_string). This is the first part of removing much of the
support code for gamma from the BSD DRM, since it appears that no new
drivers are using it and nobody has ever shown interest in gamma on
BSD.
Diffstat (limited to 'bsd-core/drm_context.c')
-rw-r--r-- | bsd-core/drm_context.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/bsd-core/drm_context.c b/bsd-core/drm_context.c index c3a20f6e..5ceb23f2 100644 --- a/bsd-core/drm_context.c +++ b/bsd-core/drm_context.c @@ -206,8 +206,6 @@ bad: int DRM(context_switch)( drm_device_t *dev, int old, int new ) { - char buf[64]; - if ( test_and_set_bit( 0, &dev->context_flag ) ) { DRM_ERROR( "Reentering -- FIXME\n" ); return DRM_ERR(EBUSY); @@ -226,9 +224,6 @@ int DRM(context_switch)( drm_device_t *dev, int old, int new ) if ( DRM(flags) & DRM_FLAG_NOCTX ) { DRM(context_switch_complete)( dev, new ); - } else { - sprintf( buf, "C %d %d\n", old, new ); - DRM(write_string)( dev, buf ); } return 0; @@ -374,7 +369,6 @@ int DRM(rmctx)( DRM_IOCTL_ARGS ) int DRM(context_switch)(drm_device_t *dev, int old, int new) { - char buf[64]; drm_queue_t *q; #if 0 @@ -412,9 +406,6 @@ int DRM(context_switch)(drm_device_t *dev, int old, int new) if (DRM(flags) & DRM_FLAG_NOCTX) { DRM(context_switch_complete)(dev, new); - } else { - sprintf(buf, "C %d %d\n", old, new); - DRM(write_string)(dev, buf); } atomic_dec(&q->use_count); |