]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/radeon: Convert logging in radeon_display.c to drm_* helpers
authorMukesh Ogare <mukeshogare871@gmail.com>
Tue, 16 Dec 2025 06:42:24 +0000 (12:12 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 16 Dec 2025 18:28:45 +0000 (13:28 -0500)
commitc5f91810725c06270c9388f3ebea3ec30dd6b64c
tree617d2fbf361d2b489bd1c00b67bf372c8d8ef2df
parent6e7143e5e6e21f9d5572e0390f7089e6d53edf3c
drm/radeon: Convert logging in radeon_display.c to drm_* helpers

Replace DRM_ERROR() and DRM_INFO() calls in
drivers/gpu/drm/radeon/radeon_display.c with the corresponding
drm_err() and drm_info() helpers.

The drm_*() logging functions 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".

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Mukesh Ogare <mukeshogare871@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_display.c