i915: Remove always-true irq_active struct intel_screen field
authorKristian Høgsberg <krh@bitplanet.net>
Thu, 11 Feb 2010 21:50:46 +0000 (16:50 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 11 Feb 2010 21:56:44 +0000 (16:56 -0500)
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/intel/intel_screen.h

index 7e5f4f163df98bce1f2cf6e44fdbce208ae265b4..e9315a50fe75b469a1b74737b6b2311a10b94a66 100644 (file)
@@ -718,11 +718,6 @@ intelInitContext(struct intel_context *intel,
 
    intel->RenderIndex = ~0;
 
-   if (intel->gen >= 4 && !intel->intelScreen->irq_active) {
-      _mesa_printf("IRQs not active.  Exiting\n");
-      exit(1);
-   }
-
    intelInitExtensions(ctx);
 
    INTEL_DEBUG = driParseDebugString(getenv("INTEL_DEBUG"), debug_control);
index 221e40c0a5ba3e8682f29b6df6d4e933f3d05ea8..6dc20d0fefe6e9dd04975946af69ade44d4888f7 100644 (file)
@@ -368,7 +368,6 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp)
    if (!intel_init_bufmgr(intelScreen))
        return GL_FALSE;
 
-   intelScreen->irq_active = 1;
    psp->extensions = intelScreenExtensions;
 
    msaa_samples_array[0] = 0;
index 4c9579afa717c8332e31a8ba9f699bd3ef217da6..c31b83655251dd7e6427ed6b75f93b25a514ca0c 100644 (file)
@@ -42,8 +42,6 @@ struct intel_screen
 
    __DRIscreen *driScrnPriv;
 
-   int irq_active;
-
    GLboolean no_hw;
 
    GLboolean no_vbo;