summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared-core/radeon_state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared-core/radeon_state.c b/shared-core/radeon_state.c
index e168ea02..01ee71f6 100644
--- a/shared-core/radeon_state.c
+++ b/shared-core/radeon_state.c
@@ -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;