Skip to content

Commit a0db1ea

Browse files
Lijo Lazaralexdeucher
authored andcommitted
drm/amdgpu: Refine ip detection log message
'add ip block' causes a confusion if the blocks are disabled later with ip_block_mask. Instead change to 'detected' and also add device context. Signed-off-by: Lijo Lazar <[email protected]> Reviewed-by: Asad Kamal <[email protected]> Suggested-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent b1df805 commit a0db1ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2365,8 +2365,8 @@ int amdgpu_device_ip_block_add(struct amdgpu_device *adev,
23652365
break;
23662366
}
23672367

2368-
DRM_INFO("add ip block number %d <%s>\n", adev->num_ip_blocks,
2369-
ip_block_version->funcs->name);
2368+
dev_info(adev->dev, "detected ip block number %d <%s>\n",
2369+
adev->num_ip_blocks, ip_block_version->funcs->name);
23702370

23712371
adev->ip_blocks[adev->num_ip_blocks].adev = adev;
23722372

0 commit comments

Comments
 (0)