From: Harry Wentland Date: Mon, 27 Nov 2017 21:12:43 +0000 (-0500) Subject: drm/amd/display: Don't spam debug log on long reg waits X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=e8e722d626b461cce95e5fe7465a1a5181f7ef6b;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Don't spam debug log on long reg waits Certain reg waits take up to a frame. Don't spam the log when this happens. Signed-off-by: Harry Wentland Reviewed-by: Jordan Lazare Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/os_types.h b/drivers/gpu/drm/amd/display/dc/os_types.h index 68ce2ab8f455..1fcbc99e63b5 100644 --- a/drivers/gpu/drm/amd/display/dc/os_types.h +++ b/drivers/gpu/drm/amd/display/dc/os_types.h @@ -44,14 +44,10 @@ #undef WRITE #undef FRAME_SIZE -#define dm_output_to_console(fmt, ...) DRM_INFO(fmt, ##__VA_ARGS__) +#define dm_output_to_console(fmt, ...) DRM_DEBUG_KMS(fmt, ##__VA_ARGS__) #define dm_error(fmt, ...) DRM_ERROR(fmt, ##__VA_ARGS__) -#define dm_debug(fmt, ...) DRM_DEBUG_KMS(fmt, ##__VA_ARGS__) - -#define dm_vlog(fmt, args) vprintk(fmt, args) - #if defined(CONFIG_DRM_AMD_DC_DCN1_0) #include #endif