radeon: add userspace call for mm support check
parent
957c71ff52
commit
d59f41b8cf
|
@ -3121,6 +3121,9 @@ static int radeon_cp_getparam(struct drm_device *dev, void *data, struct drm_fil
|
||||||
/* BSD TODO */
|
/* BSD TODO */
|
||||||
value = 1;
|
value = 1;
|
||||||
break;
|
break;
|
||||||
|
case RADEON_PARAM_KERNEL_MM:
|
||||||
|
value = !dev_priv->mm_disabled;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
DRM_DEBUG( "Invalid parameter %d\n", param->param );
|
DRM_DEBUG( "Invalid parameter %d\n", param->param );
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
Loading…
Reference in New Issue