From: Mario Limonciello <mario.limoncie...@amd.com>

drm_dbg() is helpful to show which device had the debug statement.
Adjust to using this instead for debug messages.

Signed-off-by: Mario Limonciello <mario.limoncie...@amd.com>
---
 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c 
b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
index 058a94345245f..3224eae295eb4 100644
--- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
+++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c
@@ -521,7 +521,7 @@ int amdgpu_dm_irq_resume_early(struct amdgpu_device *adev)
 
        DM_IRQ_TABLE_LOCK(adev, irq_table_flags);
 
-       DRM_DEBUG_KMS("DM_IRQ: early resume\n");
+       drm_dbg(adev_to_drm(adev), "DM_IRQ: early resume\n");
 
        /* re-enable short pulse interrupts HW interrupt */
        for (src = DC_IRQ_SOURCE_HPD1RX; src <= DC_IRQ_SOURCE_HPD6RX; src++) {
@@ -544,7 +544,7 @@ int amdgpu_dm_irq_resume_late(struct amdgpu_device *adev)
 
        DM_IRQ_TABLE_LOCK(adev, irq_table_flags);
 
-       DRM_DEBUG_KMS("DM_IRQ: resume\n");
+       drm_dbg(adev_to_drm(adev), "DM_IRQ: resume\n");
 
        /**
         * Renable HW interrupt  for HPD and only since FLIP and VBLANK
-- 
2.43.0

Reply via email to