]> git.baikalelectronics.ru Git - kernel.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)
commit106ef3153b38cc48c9cdeab63454d266ddf4a97f
tree6c722ff78bc04bec36d42df89d19897574a469a9
parent582474686b05bba81a0e27df610248fdc76482b8
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