projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
957c71f
)
radeon: add userspace call for mm support check
author
Dave Airlie
<airlied@redhat.com>
Wed, 13 Aug 2008 23:11:15 +0000
(09:11 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 13 Aug 2008 23:11:15 +0000
(09:11 +1000)
shared-core/radeon_state.c
patch
|
blob
|
history
diff --git
a/shared-core/radeon_state.c
b/shared-core/radeon_state.c
index
e168ea0
..
01ee71f
100644
(file)
--- 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;