mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-25 13:00:20 +01:00
radeon: add userspace call for mm support check
This commit is contained in:
parent
957c71ff52
commit
d59f41b8cf
1 changed files with 3 additions and 0 deletions
|
|
@ -3121,6 +3121,9 @@ static int radeon_cp_getparam(struct drm_device *dev, void *data, struct drm_fil
|
|||
/* BSD TODO */
|
||||
value = 1;
|
||||
break;
|
||||
case RADEON_PARAM_KERNEL_MM:
|
||||
value = !dev_priv->mm_disabled;
|
||||
break;
|
||||
default:
|
||||
DRM_DEBUG( "Invalid parameter %d\n", param->param );
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue