summaryrefslogtreecommitdiff
path: root/shared-core/radeon_state.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-07-30 17:05:50 +1000
committerDave Airlie <airlied@redhat.com>2008-07-30 17:05:50 +1000
commitd659302e0955598ae08316ab911a0fb74d5e2f2f (patch)
tree4d752be57bd445910480ea1e6c769ab649757031 /shared-core/radeon_state.c
parent0452be882607f2d1601f4e592a11ccf543f5f9ca (diff)
radeon: add some handles to the sarea + kernel mm available check
Diffstat (limited to 'shared-core/radeon_state.c')
-rw-r--r--shared-core/radeon_state.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shared-core/radeon_state.c b/shared-core/radeon_state.c
index d56dac19..00160fbf 100644
--- a/shared-core/radeon_state.c
+++ b/shared-core/radeon_state.c
@@ -3117,6 +3117,10 @@ static int radeon_cp_getparam(struct drm_device *dev, void *data, struct drm_fil
case RADEON_PARAM_NUM_GB_PIPES:
value = dev_priv->num_gb_pipes;
break;
+ case RADEON_PARAM_KERNEL_MM:
+ /* BSD TODO */
+ value = 1;
+ break;
default:
DRM_DEBUG( "Invalid parameter %d\n", param->param );
return -EINVAL;