diff options
author | Jean Delvare <jdelvare@suse.de> | 2011-11-30 17:26:36 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-12-01 10:57:03 +0100 |
commit | bc96f9424b0e95f2451398007be46824f93866d0 (patch) | |
tree | 32d4a61f26928d2d9e000bfef0f4ec0897f50a5b /drivers/gpu/drm/radeon/radeon_acpi.c | |
parent | drm/radeon/kms: add some loop timeouts in pageflip code (diff) | |
download | linux-bc96f9424b0e95f2451398007be46824f93866d0.tar.xz linux-bc96f9424b0e95f2451398007be46824f93866d0.zip |
drm/radeon/kms: Hide debugging message
Use the proper macro to issue the debugging message in
radeon_atif_call(). Otherwise we spam the log of many systems with a
message which looks like an error message of unknown origin, and could
thus confuse the user. Commit dc77de12dde95c8da39e4c417eb70c7d445cf84b
was a first step in this direction, but was not sufficient IMHO.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_acpi.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_acpi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_acpi.c b/drivers/gpu/drm/radeon/radeon_acpi.c index 3f6636bb2d7f..c039e5a6bf13 100644 --- a/drivers/gpu/drm/radeon/radeon_acpi.c +++ b/drivers/gpu/drm/radeon/radeon_acpi.c @@ -35,7 +35,8 @@ static int radeon_atif_call(acpi_handle handle) /* Fail only if calling the method fails and ATIF is supported */ if (ACPI_FAILURE(status) && status != AE_NOT_FOUND) { - printk(KERN_DEBUG "failed to evaluate ATIF got %s\n", acpi_format_exception(status)); + DRM_DEBUG_DRIVER("failed to evaluate ATIF got %s\n", + acpi_format_exception(status)); kfree(buffer.pointer); return 1; } |