diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2006-08-07 20:31:30 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-09-22 05:32:30 +1000 |
commit | 9ca941615ee6418cd38c13602960f29c7ac7d973 (patch) | |
tree | 6340fb5032820937553be543bc80766965016ae8 /drivers/char/drm | |
parent | 7a3f1f216b92724ff822fe3122272b7fd6a58f8c (diff) |
drm: radeon: add some debug output when getparam is called with unknown
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers/char/drm')
-rw-r--r-- | drivers/char/drm/radeon_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/drm/radeon_state.c b/drivers/char/drm/radeon_state.c index 39a7f685e3f..99589fe0032 100644 --- a/drivers/char/drm/radeon_state.c +++ b/drivers/char/drm/radeon_state.c @@ -2997,6 +2997,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); } |