Skip to content

Commit

Permalink
drm/radeon/kms: rs600: use correct mask for SW interrupt
Browse files Browse the repository at this point in the history
The mask happens to be the same, but the IH is reading the status, not the
not the control register.

Signed-off-by: Luca Tettamanti <kronos.it@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Luca Tettamanti authored and Dave Airlie committed Jan 7, 2010
1 parent 65aa2f4 commit 43b19f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/radeon/rs600.c
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ int rs600_irq_process(struct radeon_device *rdev)
}
while (status || r500_disp_int) {
/* SW interrupt */
if (G_000040_SW_INT_EN(status))
if (G_000044_SW_INT(status))
radeon_fence_process(rdev);
/* Vertical blank interrupts */
if (G_007EDC_LB_D1_VBLANK_INTERRUPT(r500_disp_int))
Expand Down

0 comments on commit 43b19f1

Please sign in to comment.