drm/amd/display: Convert some legacy DRM debug macros into appropriate categories
authorTvrtko Ursulin <tvrtko.ursulin@igalia.com>
Tue, 28 May 2024 12:57:11 +0000 (13:57 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Jun 2024 14:58:01 +0000 (10:58 -0400)
commit730ac573868b03ea668d368d5d279c5434ae205c
treebc353ac773ccaa8d7f9c61b01327441310a13aa5
parent473af28d3e63b9b679c7878df33616c7ca6ea947
drm/amd/display: Convert some legacy DRM debug macros into appropriate categories

Currently when one enables driver debugging dmesg gets spammed, at I
suspect vblank rate, with messages like:

 [drm:amdgpu_dm_atomic_check [amdgpu]] MPO enablement requested on crtc:[00000000f073c3bb]

Fix if by converting some logging from deprecated and incorrect
DRM_DEBUG_DRIVER to drm_dbg_atomic. Plus some localized drive-by changes
to drm_dbg_kms.

By no means an exhaustive conversion but at least it allows turning on
driver debug selectively.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c