diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2009-09-17 14:25:12 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-09-18 14:34:06 +1000 |
commit | b15591f3120309093fc6d3df26b4242187d7b384 (patch) | |
tree | 7700a43418c0552910962b9590cdc46e186d71fb /drivers/gpu/drm/radeon/radeon_state.c | |
parent | 812c369dbf3b5a726b52bbfb8adbc230f3f81bcf (diff) | |
download | op-kernel-dev-b15591f3120309093fc6d3df26b4242187d7b384.zip op-kernel-dev-b15591f3120309093fc6d3df26b4242187d7b384.tar.gz |
drm/radeon/r600: don't do interrupts
Interrupts are not supported yet. This prevents
things like mesa from trying to use them.
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_state.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_state.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_state.c b/drivers/gpu/drm/radeon/radeon_state.c index aad0c6f..38537d9 100644 --- a/drivers/gpu/drm/radeon/radeon_state.c +++ b/drivers/gpu/drm/radeon/radeon_state.c @@ -3034,7 +3034,10 @@ static int radeon_cp_getparam(struct drm_device *dev, void *data, struct drm_fil value = GET_SCRATCH(dev_priv, 2); break; case RADEON_PARAM_IRQ_NR: - value = drm_dev_to_irq(dev); + if ((dev_priv->flags & RADEON_FAMILY_MASK) >= CHIP_R600) + value = 0; + else + value = drm_dev_to_irq(dev); break; case RADEON_PARAM_GART_BASE: value = dev_priv->gart_vm_start; |