Commit 775f55f1 authored by Tom St Denis's avatar Tom St Denis Committed by Alex Deucher

drm/amd/amdgpu: Print out ring name in dev_info

So it's more obvious which rings are using which INV engines.
Signed-off-by: default avatarTom St Denis <tom.stdenis@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent e182e234
...@@ -394,8 +394,9 @@ static int gmc_v9_0_late_init(void *handle) ...@@ -394,8 +394,9 @@ static int gmc_v9_0_late_init(void *handle)
unsigned vmhub = ring->funcs->vmhub; unsigned vmhub = ring->funcs->vmhub;
ring->vm_inv_eng = vm_inv_eng[vmhub]++; ring->vm_inv_eng = vm_inv_eng[vmhub]++;
dev_info(adev->dev, "ring %u uses VM inv eng %u on hub %u\n", dev_info(adev->dev, "ring %u(%s) uses VM inv eng %u on hub %u\n",
ring->idx, ring->vm_inv_eng, ring->funcs->vmhub); ring->idx, ring->name, ring->vm_inv_eng,
ring->funcs->vmhub);
} }
/* Engine 17 is used for GART flushes */ /* Engine 17 is used for GART flushes */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment