summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2006-07-19 19:01:33 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2006-07-19 19:01:33 +0200
commit7dea64677b62418b14d34c41399cdb8bf8b817cd (patch)
tree92b91ff13904e9177a40c1a1cb2cb637aa98e29c
parentb9243ce3d5ed6bd70851a132871387d4d2e886bc (diff)
Some debug output when the getparam ioctl is called with an unknown parameter.
-rw-r--r--shared-core/radeon_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/radeon_state.c b/shared-core/radeon_state.c
index 7e0cb6a8..2c169ac5 100644
--- a/shared-core/radeon_state.c
+++ b/shared-core/radeon_state.c
@@ -3035,6 +3035,7 @@ static int radeon_cp_getparam(DRM_IOCTL_ARGS)
value = RADEON_CARD_PCI;
break;
default:
+ DRM_DEBUG( "Invalid parameter %d\n", param.param );
return DRM_ERR(EINVAL);
}