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:
committed by
Dave Airlie
parent
7a3f1f216b
commit
9ca941615e
@@ -2997,6 +2997,7 @@ static int radeon_cp_getparam(DRM_IOCTL_ARGS)
|
|||||||
value = RADEON_CARD_PCI;
|
value = RADEON_CARD_PCI;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
DRM_DEBUG("Invalid parameter %d\n", param.param);
|
||||||
return DRM_ERR(EINVAL);
|
return DRM_ERR(EINVAL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user