]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amdgpu: Refine the error report when flush tlb.
authorPeng Ju Zhou <PengJu.Zhou@amd.com>
Wed, 28 Apr 2021 08:22:27 +0000 (16:22 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:38:03 +0000 (22:38 -0400)
there are 2 hubs to flush in the gmc, to make it easier
to debug when hub flush failed, refine the logs.

Signed-off-by: Peng Ju Zhou <PengJu.Zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c

index 498b28a35f5b6bfcb4f9663469759340afeac670..c134af6b0ca08a63da0f2cc95caa587b176e4fa9 100644 (file)
@@ -288,7 +288,7 @@ static void gmc_v10_0_flush_vm_hub(struct amdgpu_device *adev, uint32_t vmid,
        if (i < adev->usec_timeout)
                return;
 
-       DRM_ERROR("Timeout waiting for VM flush ACK!\n");
+       DRM_ERROR("Timeout waiting for VM flush hub: %d!\n", vmhub);
 }
 
 /**