i915: Remove always-true irq_active struct intel_screen field
This commit is contained in:
@@ -718,11 +718,6 @@ intelInitContext(struct intel_context *intel,
|
|||||||
|
|
||||||
intel->RenderIndex = ~0;
|
intel->RenderIndex = ~0;
|
||||||
|
|
||||||
if (intel->gen >= 4 && !intel->intelScreen->irq_active) {
|
|
||||||
_mesa_printf("IRQs not active. Exiting\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
intelInitExtensions(ctx);
|
intelInitExtensions(ctx);
|
||||||
|
|
||||||
INTEL_DEBUG = driParseDebugString(getenv("INTEL_DEBUG"), debug_control);
|
INTEL_DEBUG = driParseDebugString(getenv("INTEL_DEBUG"), debug_control);
|
||||||
|
@@ -368,7 +368,6 @@ __DRIconfig **intelInitScreen2(__DRIscreen *psp)
|
|||||||
if (!intel_init_bufmgr(intelScreen))
|
if (!intel_init_bufmgr(intelScreen))
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
|
|
||||||
intelScreen->irq_active = 1;
|
|
||||||
psp->extensions = intelScreenExtensions;
|
psp->extensions = intelScreenExtensions;
|
||||||
|
|
||||||
msaa_samples_array[0] = 0;
|
msaa_samples_array[0] = 0;
|
||||||
|
@@ -42,8 +42,6 @@ struct intel_screen
|
|||||||
|
|
||||||
__DRIscreen *driScrnPriv;
|
__DRIscreen *driScrnPriv;
|
||||||
|
|
||||||
int irq_active;
|
|
||||||
|
|
||||||
GLboolean no_hw;
|
GLboolean no_hw;
|
||||||
|
|
||||||
GLboolean no_vbo;
|
GLboolean no_vbo;
|
||||||
|
Reference in New Issue
Block a user