Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179925
b: refs/heads/master
c: 79c2bbc
h: refs/heads/master
i:
  179923: 0598fd7
v: v3
  • Loading branch information
Jerome Glisse authored and Dave Airlie committed Jan 20, 2010
1 parent e5d879c commit 466cc37
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c45249f419d8b86abe0e51c6627ca4b085e8c23
refs/heads/master: 79c2bbc505751bb5130ac753251fc9a0eb37bb12
8 changes: 7 additions & 1 deletion trunk/drivers/gpu/drm/radeon/r600.c
Original file line number Diff line number Diff line change
Expand Up @@ -2473,8 +2473,12 @@ int r600_irq_set(struct radeon_device *rdev)
return -EINVAL;
}
/* don't enable anything if the ih is disabled */
if (!rdev->ih.enabled)
if (!rdev->ih.enabled) {
r600_disable_interrupts(rdev);
/* force the active interrupt state to all disabled */
r600_disable_interrupt_state(rdev);
return 0;
}

if (ASIC_IS_DCE3(rdev)) {
hpd1 = RREG32(DC_HPD1_INT_CONTROL) & ~DC_HPDx_INT_EN;
Expand Down Expand Up @@ -2692,6 +2696,8 @@ int r600_irq_process(struct radeon_device *rdev)
bool queue_hotplug = false;

DRM_DEBUG("r600_irq_process start: rptr %d, wptr %d\n", rptr, wptr);
if (!rdev->ih.enabled)
return IRQ_NONE;

spin_lock_irqsave(&rdev->ih.lock, flags);

Expand Down

0 comments on commit 466cc37

Please sign in to comment.