From: Jerome Glisse Date: Fri, 8 May 2009 14:40:21 +0000 (+0200) Subject: radeon: IRQ always enabled in DRI2 path no need to query kernel for it X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a67c29a268bdfecb910b929e05c0ea02c720caa6;p=mesa.git radeon: IRQ always enabled in DRI2 path no need to query kernel for it --- diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 56dbe746881..5aeb968d41c 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -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) {