]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: switch to drm_dbg_kms() from DRM_DEBUG_KMS
authorAurabindo Pillai <aurabindo.pillai@amd.com>
Tue, 30 Dec 2025 20:14:26 +0000 (15:14 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Sat, 10 Jan 2026 19:21:54 +0000 (14:21 -0500)
commit869e3869b9303ba104f14b70814cc5b4bb7ad7a9
treef35be370ed27b32b1bb84a5526ca215049df96fe
parente9306b69e77574c676ebf3eeaa428da685cc6a25
drm/amd/display: switch to drm_dbg_kms() from DRM_DEBUG_KMS

DRM_DEBUG_ class of macros are depricated. Recommended drm_dbg_kms() has
the advantage of being able to distinguish the logs from devices in a
multi-gpu environment.

Where a pointer to struct amdgpu_device is available, use that to get
the drm device.

Reviewed-by: Sun peng (Leo) Li <sunpeng.li@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Matthew Stewart <matthew.stewart2@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c