drm: radeon: add some debug output when getparam is called with unknown

Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
Michel Dänzer 2006-08-07 20:31:30 +10:00 committed by Dave Airlie
parent 7a3f1f216b
commit 9ca941615e

View File

@ -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);
}