Commit 43b19f16 authored by Luca Tettamanti's avatar Luca Tettamanti Committed by Dave Airlie

drm/radeon/kms: rs600: use correct mask for SW interrupt

The mask happens to be the same, but the IH is reading the status, not the
not the control register.
Signed-off-by: default avatarLuca Tettamanti <kronos.it@gmail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 65aa2f4e
...@@ -396,7 +396,7 @@ int rs600_irq_process(struct radeon_device *rdev) ...@@ -396,7 +396,7 @@ int rs600_irq_process(struct radeon_device *rdev)
} }
while (status || r500_disp_int) { while (status || r500_disp_int) {
/* SW interrupt */ /* SW interrupt */
if (G_000040_SW_INT_EN(status)) if (G_000044_SW_INT(status))
radeon_fence_process(rdev); radeon_fence_process(rdev);
/* Vertical blank interrupts */ /* Vertical blank interrupts */
if (G_007EDC_LB_D1_VBLANK_INTERRUPT(r500_disp_int)) if (G_007EDC_LB_D1_VBLANK_INTERRUPT(r500_disp_int))
......
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