radeon: IRQ always enabled in DRI2 path no need to query kernel for it
authorJerome Glisse <glisse@freedesktop.org>
Fri, 8 May 2009 14:40:21 +0000 (16:40 +0200)
committerJerome Glisse <glisse@freedesktop.org>
Fri, 8 May 2009 14:40:21 +0000 (16:40 +0200)
src/mesa/drivers/dri/radeon/radeon_screen.c

index 56dbe746881bc03a32d916e2464e449effd06621..5aeb968d41cd30accf67e74eb91f78e4980aa037 100644 (file)
@@ -1081,8 +1081,7 @@ radeonCreateScreen2(__DRIscreenPrivate *sPriv)
    screen->drmSupportsPointSprites = 1;
    screen->drmSupportsCubeMapsR100 = 1;
    screen->drmSupportsVertexProgram = 1;
-
-   ret = radeonGetParam(sPriv, RADEON_PARAM_IRQ_NR, &screen->irq);
+   screen->irq = 1;
 
    ret = radeonGetParam(sPriv, RADEON_PARAM_DEVICE_ID, &device_id);
    if (ret) {