]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
drm/amd/amdgpu: Print out ring name in dev_info
authorTom St Denis <tom.stdenis@amd.com>
Wed, 19 Apr 2017 15:03:04 +0000 (11:03 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:32:45 +0000 (17:32 -0400)
So it's more obvious which rings are using which INV engines.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c

index a71521e10763522f9a808ab6f7043b03240b823b..edf43769ae70dc2348035a75b29cdac2f7300b1d 100644 (file)
@@ -394,8 +394,9 @@ static int gmc_v9_0_late_init(void *handle)
                unsigned vmhub = ring->funcs->vmhub;
 
                ring->vm_inv_eng = vm_inv_eng[vmhub]++;
-               dev_info(adev->dev, "ring %u uses VM inv eng %u on hub %u\n",
-                        ring->idx, ring->vm_inv_eng, ring->funcs->vmhub);
+               dev_info(adev->dev, "ring %u(%s) uses VM inv eng %u on hub %u\n",
+                        ring->idx, ring->name, ring->vm_inv_eng,
+                        ring->funcs->vmhub);
        }
 
        /* Engine 17 is used for GART flushes */