summaryrefslogtreecommitdiff
path: root/shared-core/radeon_state.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core/radeon_state.c')
-rw-r--r--shared-core/radeon_state.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shared-core/radeon_state.c b/shared-core/radeon_state.c
index 218a5e85..0172128b 100644
--- a/shared-core/radeon_state.c
+++ b/shared-core/radeon_state.c
@@ -2172,6 +2172,9 @@ 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;
+ break;
case RADEON_PARAM_AGP_BASE:
value = dev_priv->agp_vm_start;
break;