diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 14:14:52 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-05-21 14:14:52 -0400 |
commit | 59534f7298c5e28aaa64e6ed550e247f64ee72ae (patch) | |
tree | b9fef7756abf897d9e1b10950cdf10bf6dfe5cb7 /drivers/gpu/drm/nouveau/nouveau_irq.c | |
parent | ac3ee84c604502240122c47b52f0542ec8774f15 (diff) | |
parent | b486787ee4797d6e42a9bd3a6f079385ad0f4472 (diff) |
Merge branch 'drm-for-2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6
* 'drm-for-2.6.35' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6: (207 commits)
drm/radeon/kms/pm/r600: select the mid clock mode for single head low profile
drm/radeon: fix power supply kconfig interaction.
drm/radeon/kms: record object that have been list reserved
drm/radeon: AGP memory is only I/O if the aperture can be mapped by the CPU.
drm/radeon/kms: don't default display priority to high on rs4xx
drm/edid: fix typo in 1600x1200@75 mode
drm/nouveau: fix i2c-related init table handlers
drm/nouveau: support init table i2c device identifier 0x81
drm/nouveau: ensure we've parsed i2c table entry for INIT_*I2C* handlers
drm/nouveau: display error message for any failed init table opcode
drm/nouveau: fix init table handlers to return proper error codes
drm/nv50: support fractional feedback divider on newer chips
drm/nv50: fix monitor detection on certain chipsets
drm/nv50: store full dcb i2c entry from vbios
drm/nv50: fix suspend/resume with DP outputs
drm/nv50: output calculated crtc pll when debugging on
drm/nouveau: dump pll limits entries when debugging is on
drm/nouveau: bios parser fixes for eDP boards
drm/nouveau: fix a nouveau_bo dereference after it's been destroyed
drm/nv40: remove some completed ctxprog TODOs
...
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_irq.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_irq.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_irq.c b/drivers/gpu/drm/nouveau/nouveau_irq.c index 13e73cee4c44..53360f156063 100644 --- a/drivers/gpu/drm/nouveau/nouveau_irq.c +++ b/drivers/gpu/drm/nouveau/nouveau_irq.c | |||
@@ -1204,7 +1204,7 @@ nouveau_irq_handler(DRM_IRQ_ARGS) | |||
1204 | { | 1204 | { |
1205 | struct drm_device *dev = (struct drm_device *)arg; | 1205 | struct drm_device *dev = (struct drm_device *)arg; |
1206 | struct drm_nouveau_private *dev_priv = dev->dev_private; | 1206 | struct drm_nouveau_private *dev_priv = dev->dev_private; |
1207 | uint32_t status, fbdev_flags = 0; | 1207 | uint32_t status; |
1208 | unsigned long flags; | 1208 | unsigned long flags; |
1209 | 1209 | ||
1210 | status = nv_rd32(dev, NV03_PMC_INTR_0); | 1210 | status = nv_rd32(dev, NV03_PMC_INTR_0); |
@@ -1213,11 +1213,6 @@ nouveau_irq_handler(DRM_IRQ_ARGS) | |||
1213 | 1213 | ||
1214 | spin_lock_irqsave(&dev_priv->context_switch_lock, flags); | 1214 | spin_lock_irqsave(&dev_priv->context_switch_lock, flags); |
1215 | 1215 | ||
1216 | if (dev_priv->fbdev_info) { | ||
1217 | fbdev_flags = dev_priv->fbdev_info->flags; | ||
1218 | dev_priv->fbdev_info->flags |= FBINFO_HWACCEL_DISABLED; | ||
1219 | } | ||
1220 | |||
1221 | if (status & NV_PMC_INTR_0_PFIFO_PENDING) { | 1216 | if (status & NV_PMC_INTR_0_PFIFO_PENDING) { |
1222 | nouveau_fifo_irq_handler(dev); | 1217 | nouveau_fifo_irq_handler(dev); |
1223 | status &= ~NV_PMC_INTR_0_PFIFO_PENDING; | 1218 | status &= ~NV_PMC_INTR_0_PFIFO_PENDING; |
@@ -1247,9 +1242,6 @@ nouveau_irq_handler(DRM_IRQ_ARGS) | |||
1247 | if (status) | 1242 | if (status) |
1248 | NV_ERROR(dev, "Unhandled PMC INTR status bits 0x%08x\n", status); | 1243 | NV_ERROR(dev, "Unhandled PMC INTR status bits 0x%08x\n", status); |
1249 | 1244 | ||
1250 | if (dev_priv->fbdev_info) | ||
1251 | dev_priv->fbdev_info->flags = fbdev_flags; | ||
1252 | |||
1253 | spin_unlock_irqrestore(&dev_priv->context_switch_lock, flags); | 1245 | spin_unlock_irqrestore(&dev_priv->context_switch_lock, flags); |
1254 | 1246 | ||
1255 | return IRQ_HANDLED; | 1247 | return IRQ_HANDLED; |