aboutsummaryrefslogtreecommitdiff
path: root/shared-core/radeon_state.c
diff options
context:
space:
mode:
authorMichel Daenzer <michel@daenzer.net>2002-09-25 19:48:51 +0000
committerMichel Daenzer <michel@daenzer.net>2002-09-25 19:48:51 +0000
commitf40674ea9f3e3c17d632de90d7e35da5640a55b2 (patch)
tree13cbf16dae58d8c11a9c19394292060f96e28916 /shared-core/radeon_state.c
parent55acd0d5a64a2ee6b0cecc75872fbf8c4bb42a0c (diff)
change RADEON_PARAM_IRQ_ACTIVE to RADEON_PARAM_IRQ_NR
Diffstat (limited to 'shared-core/radeon_state.c')
-rw-r--r--shared-core/radeon_state.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/shared-core/radeon_state.c b/shared-core/radeon_state.c
index 0172128b..179a2202 100644
--- a/shared-core/radeon_state.c
+++ b/shared-core/radeon_state.c
@@ -1283,7 +1283,6 @@ int radeon_cp_clear( DRM_IOCTL_ARGS )
}
-
/* Not sure why this isn't set all the time:
*/
static int radeon_do_init_pageflip( drm_device_t *dev )
@@ -2172,8 +2171,8 @@ int radeon_cp_getparam( DRM_IOCTL_ARGS )
dev_priv->stats.last_clear_reads++;
value = GET_SCRATCH( 2 );
break;
- case RADEON_PARAM_IRQ_ACTIVE:
- value = dev->irq ? 1 : 0;
+ case RADEON_PARAM_IRQ_NR:
+ value = dev->irq;
break;
case RADEON_PARAM_AGP_BASE:
value = dev_priv->agp_vm_start;