[PATCH] drm/amd/display: Don't spam debug messages

Tom St Denis tstdenis at amd.com
Mon Apr 9 18:13:28 UTC 2018


Tested-by: Tom St Denis <tom.stdenis at amd.com>


Works for me!

Thanks,
Tom

On 04/09/2018 02:06 PM, Harry Wentland wrote:
> Signed-off-by: Harry Wentland <harry.wentland at amd.com>
> ---
>   drivers/gpu/drm/amd/display/include/logger_types.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/include/logger_types.h b/drivers/gpu/drm/amd/display/include/logger_types.h
> index 4f332e80cecc..b608a0830801 100644
> --- a/drivers/gpu/drm/amd/display/include/logger_types.h
> +++ b/drivers/gpu/drm/amd/display/include/logger_types.h
> @@ -32,7 +32,7 @@
>   
>   #define DC_LOG_ERROR(...) DRM_ERROR(__VA_ARGS__)
>   #define DC_LOG_WARNING(...) DRM_WARN(__VA_ARGS__)
> -#define DC_LOG_DEBUG(...) DRM_INFO(__VA_ARGS__)
> +#define DC_LOG_DEBUG(...) DRM_DEBUG_KMS(__VA_ARGS__)
>   #define DC_LOG_DC(...) DRM_DEBUG_KMS(__VA_ARGS__)
>   #define DC_LOG_DTN(...) DRM_DEBUG_KMS(__VA_ARGS__)
>   #define DC_LOG_SURFACE(...) pr_debug("[SURFACE]:"__VA_ARGS__)
> 


More information about the amd-gfx mailing list