Skip to content

Commit 88970f5

Browse files
Feifei Xukentrussell
authored andcommitted
drm/amdgpu: Change the sdma interrupt print level
Change the print level into debug. Signed-off-by: Feifei Xu <[email protected]> Reviewed-by: Hawking Zhang <[email protected]>
1 parent b855ec8 commit 88970f5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2218,7 +2218,7 @@ static int sdma_v4_0_print_iv_entry(struct amdgpu_device *adev,
22182218

22192219
instance = sdma_v4_0_irq_id_to_seq(entry->client_id);
22202220
if (instance < 0 || instance >= adev->sdma.num_instances) {
2221-
dev_err_ratelimited(adev->dev, "sdma instance invalid %d\n", instance);
2221+
dev_err(adev->dev, "sdma instance invalid %d\n", instance);
22222222
return -EINVAL;
22232223
}
22242224

@@ -2228,7 +2228,7 @@ static int sdma_v4_0_print_iv_entry(struct amdgpu_device *adev,
22282228
memset(&task_info, 0, sizeof(struct amdgpu_task_info));
22292229
amdgpu_vm_get_task_info(adev, entry->pasid, &task_info);
22302230

2231-
dev_info_ratelimited(adev->dev,
2231+
dev_dbg_ratelimited(adev->dev,
22322232
"[sdma%d] address:0x%016llx src_id:%u ring:%u vmid:%u "
22332233
"pasid:%u, for process %s pid %d thread %s pid %d\n",
22342234
instance, addr, entry->src_id, entry->ring_id, entry->vmid,
@@ -2241,7 +2241,7 @@ static int sdma_v4_0_process_vm_hole_irq(struct amdgpu_device *adev,
22412241
struct amdgpu_irq_src *source,
22422242
struct amdgpu_iv_entry *entry)
22432243
{
2244-
dev_err_ratelimited(adev->dev, "MC or SEM address in VM hole\n");
2244+
dev_dbg_ratelimited(adev->dev, "MC or SEM address in VM hole\n");
22452245
sdma_v4_0_print_iv_entry(adev, entry);
22462246
return 0;
22472247
}
@@ -2251,7 +2251,7 @@ static int sdma_v4_0_process_doorbell_invalid_irq(struct amdgpu_device *adev,
22512251
struct amdgpu_iv_entry *entry)
22522252
{
22532253

2254-
dev_err_ratelimited(adev->dev, "SDMA received a doorbell from BIF with byte_enable !=0xff\n");
2254+
dev_dbg_ratelimited(adev->dev, "SDMA received a doorbell from BIF with byte_enable !=0xff\n");
22552255
sdma_v4_0_print_iv_entry(adev, entry);
22562256
return 0;
22572257
}
@@ -2260,7 +2260,7 @@ static int sdma_v4_0_process_pool_timeout_irq(struct amdgpu_device *adev,
22602260
struct amdgpu_irq_src *source,
22612261
struct amdgpu_iv_entry *entry)
22622262
{
2263-
dev_err_ratelimited(adev->dev,
2263+
dev_dbg_ratelimited(adev->dev,
22642264
"Polling register/memory timeout executing POLL_REG/MEM with finite timer\n");
22652265
sdma_v4_0_print_iv_entry(adev, entry);
22662266
return 0;
@@ -2270,7 +2270,7 @@ static int sdma_v4_0_process_srbm_write_irq(struct amdgpu_device *adev,
22702270
struct amdgpu_irq_src *source,
22712271
struct amdgpu_iv_entry *entry)
22722272
{
2273-
dev_err_ratelimited(adev->dev,
2273+
dev_dbg_ratelimited(adev->dev,
22742274
"SDMA gets an Register Write SRBM_WRITE command in non-privilege command buffer\n");
22752275
sdma_v4_0_print_iv_entry(adev, entry);
22762276
return 0;

0 commit comments

Comments
 (0)