]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
drm: radeon: add some debug output when getparam is called with unknown
authorMichel Dänzer <michel@tungstengraphics.com>
Mon, 7 Aug 2006 10:31:30 +0000 (20:31 +1000)
committerDave Airlie <airlied@linux.ie>
Thu, 21 Sep 2006 19:32:30 +0000 (05:32 +1000)
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/radeon_state.c

index 39a7f685e3fd7d5f0e3c4e98f58510258303069a..99589fe0032f4d7c5d4d7724f71601fe1edf4455 100644 (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);
        }