diff options
author | Jerome Glisse <glisse@freedesktop.org> | 2009-05-08 16:40:21 +0200 |
---|---|---|
committer | Jerome Glisse <glisse@freedesktop.org> | 2009-05-08 16:40:21 +0200 |
commit | a67c29a268bdfecb910b929e05c0ea02c720caa6 (patch) | |
tree | 0bda471f9971db9c9342df4342d592bc6f78fb89 | |
parent | a7bb95bf142ac9727a4223639742a8524f9c724b (diff) |
radeon: IRQ always enabled in DRI2 path no need to query kernel for it
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 56dbe74688..5aeb968d41 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) { |