int i915_setparam(DRM_IOCTL_ARGS) 
static int i915_setparam(DRM_IOCTL_ARGS) 
int i915_setparam(DRM_IOCTL_ARGS){	DRM_DEVICE;	drm_i915_private_t *dev_priv = dev->dev_private;	drm_i915_setparam_t param;	if (!dev_priv) {		DRM_ERROR("%s called with no initialization\n", __FUNCTION__);		return DRM_ERR(EINVAL);	}	DRM_COPY_FROM_USER_IOCTL(param, (drm_i915_setparam_t __user *) data,				 sizeof(param));	switch (param.param) {	case I915_SETPARAM_USE_MI_BATCHBUFFER_START:		dev_priv->use_mi_batchbuffer_start = param.value;		break;	case I915_SETPARAM_TEX_LRU_LOG_GRANULARITY:		dev_priv->tex_lru_log_granularity = param.value;		break;	case I915_SETPARAM_ALLOW_BATCHBUFFER:		dev_priv->allow_batchbuffer = param.value;		break;	default:		DRM_ERROR("unknown parameter %d\n", param.param);		return DRM_ERR(EINVAL);	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/c94f70298529d99ac6e1ee7709f61eab00adeb39/i915_dma.c/buggy/drivers/char/drm/i915_dma.c