drm/amdgpu: Register UTCL2 as a source of VM faults
authorFelix Kuehling <Felix.Kuehling@amd.com>
Tue, 28 Mar 2017 17:41:11 +0000 (13:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Mar 2017 03:55:46 +0000 (23:55 -0400)
Signed-off-by: Felix Kuehling <Felix.Kuehling@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_v9_0.c

index 87bea71..981d3d9 100644 (file)
@@ -556,6 +556,8 @@ static int gmc_v9_0_sw_init(void *handle)
        /* This interrupt is VMC page fault.*/
        r = amdgpu_irq_add_id(adev, AMDGPU_IH_CLIENTID_VMC, 0,
                                &adev->mc.vm_fault);
+       r = amdgpu_irq_add_id(adev, AMDGPU_IH_CLIENTID_UTCL2, 0,
+                               &adev->mc.vm_fault);
 
        if (r)
                return r;