drm/amdgpu: reset vce trap interrupt flag
authorLeo Liu <leo.liu@amd.com>
Tue, 17 Nov 2015 14:28:29 +0000 (09:28 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Nov 2015 23:20:55 +0000 (18:20 -0500)
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vce_v3_0.c

index 6a52db6ad8d779afe7a82f29a731a4e912183bcb..3acff3ab764f1c4ceed9297999efe58ca90732de 100644 (file)
@@ -576,6 +576,11 @@ static int vce_v3_0_process_interrupt(struct amdgpu_device *adev,
                                      struct amdgpu_iv_entry *entry)
 {
        DRM_DEBUG("IH: VCE\n");
+
+       WREG32_P(mmVCE_SYS_INT_STATUS,
+               VCE_SYS_INT_STATUS__VCE_SYS_INT_TRAP_INTERRUPT_INT_MASK,
+               ~VCE_SYS_INT_STATUS__VCE_SYS_INT_TRAP_INTERRUPT_INT_MASK);
+
        switch (entry->src_data) {
        case 0:
                amdgpu_fence_process(&adev->vce.ring[0]);
This page took 0.046996 seconds and 5 git commands to generate.