]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/radeon: Convert legacy DRM logging in evergreen.c to drm_* helpers
authorAbhishek Rajput <abhiraj21put@gmail.com>
Tue, 16 Dec 2025 10:32:38 +0000 (16:02 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Dec 2025 18:29:15 +0000 (13:29 -0500)
commit0a54edc19158b3402b6c39cc682789be05e3d47d
tree82253075bbee9baff5331fe7c617f996135f168b
parente50a6ecebe0841d3dfa4d9415d4fae80bb5d91e8
drm/radeon: Convert legacy DRM logging in evergreen.c to drm_* helpers

Replace DRM_DEBUG(), DRM_ERROR(), and DRM_INFO() calls with the
corresponding drm_dbg(), drm_err(), and drm_info() helpers in the
radeon driver.

The drm_*() logging helpers take a struct drm_device * argument,
allowing the DRM core to prefix log messages with the correct device
name and instance. This is required to correctly distinguish log
messages on systems with multiple GPUs.

This change aligns radeon with the DRM TODO item:
"Convert logging to drm_* functions with drm_device parameter".

Signed-off-by: Abhishek Rajput <abhiraj21put@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/evergreen.c