diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-02-20 09:16:01 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-02-27 14:05:27 -0500 |
commit | 9f050c7f9738ffa746c63415136645ad231b1348 (patch) | |
tree | 81d9e8fcab9b77eedc1c67e36cad5a7a2a1079b3 /drivers/gpu/drm/radeon/radeon_atpx_handler.c | |
parent | b0447888dc29f4fb91c3b3b02e3f1f0bfc6e1222 (diff) | |
download | lwn-9f050c7f9738ffa746c63415136645ad231b1348.tar.gz lwn-9f050c7f9738ffa746c63415136645ad231b1348.zip |
drm/radeon: print the supported atpx function mask
Print the supported functions mask in addition to
the version. This is useful in debugging PX
problems since we can see what functions are available.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_atpx_handler.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_atpx_handler.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_atpx_handler.c b/drivers/gpu/drm/radeon/radeon_atpx_handler.c index 485848f889f5..fa9a9c02751e 100644 --- a/drivers/gpu/drm/radeon/radeon_atpx_handler.c +++ b/drivers/gpu/drm/radeon/radeon_atpx_handler.c @@ -219,7 +219,8 @@ static int radeon_atpx_verify_interface(struct radeon_atpx *atpx) memcpy(&output, info->buffer.pointer, size); /* TODO: check version? */ - printk("ATPX version %u\n", output.version); + printk("ATPX version %u, functions 0x%08x\n", + output.version, output.function_bits); radeon_atpx_parse_functions(&atpx->functions, output.function_bits); |