diff options
author | rnoland <rnoland@FreeBSD.org> | 2009-09-28 22:37:07 +0000 |
---|---|---|
committer | rnoland <rnoland@FreeBSD.org> | 2009-09-28 22:37:07 +0000 |
commit | c27ab7e9488b2097a960ecd17ae3c5775efe7802 (patch) | |
tree | fb0a76e85ba99cdd8416994223a9a598b674747e /sys/dev/drm/radeon_state.c | |
parent | beb5c5d2dbde748e2136e2a689b596dab792c7f0 (diff) | |
download | FreeBSD-src-c27ab7e9488b2097a960ecd17ae3c5775efe7802.zip FreeBSD-src-c27ab7e9488b2097a960ecd17ae3c5775efe7802.tar.gz |
R600 doesn't support IRQs yet, so don't try to use them.
MFC after: 1 week
Diffstat (limited to 'sys/dev/drm/radeon_state.c')
-rw-r--r-- | sys/dev/drm/radeon_state.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/drm/radeon_state.c b/sys/dev/drm/radeon_state.c index e032b8f..fd8388f 100644 --- a/sys/dev/drm/radeon_state.c +++ b/sys/dev/drm/radeon_state.c @@ -3024,7 +3024,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 = dev->irq; + if ((dev_priv->flags & RADEON_FAMILY_MASK) >= CHIP_R600) + value = 0; + else + value = dev->irq; break; case RADEON_PARAM_GART_BASE: value = dev_priv->gart_vm_start; |