]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amd/display: Use pr_debug in DM to prevent dmesg flooding
authorVictor Lu <victorchengchi.lu@amd.com>
Tue, 30 Mar 2021 16:07:30 +0000 (12:07 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:49:32 +0000 (16:49 -0400)
commitcb2318b7c98703b839c91d7f4c32d4905654c702
tree6c722ff78bc04bec36d42df89d19897574a469a9
parentd91a275e4e8643b517a4c42ae5f7effb1ce94703
drm/amd/display: Use pr_debug in DM to prevent dmesg flooding

[why]
Our CI enables drm.debug=0x4 logs and the dmesg is flooded with cursor
updates. We probably want to avoid spamming the log with DRM_DEBUG_KMS.

[how]
Define and use pr_debug macros instead of a few spammy DRM_DEBUG_*'s.

Signed-off-by: Victor Lu <victorchengchi.lu@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
drivers/gpu/drm/amd/display/include/logger_types.h