Bug 12731 - dri is disabled with i915 driver
Summary: dri is disabled with i915 driver
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: highest critical
Assignee: Eric Anholt
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-07 23:04 UTC by WuNian
Modified: 2009-08-24 12:28 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description WuNian 2007-10-07 23:04:33 UTC
Dri is disabled with i915 driver. glxinfo reports dri is disabled and glxgears gives very low FPS(75-85FPS).

This bug was introduced by commit:

commit 77e0523fb7769df4bf43747e136b1653b2421b97
Author: Eric Anholt <eric@anholt.net>
Date:   Thu Oct 4 12:07:25 2007 -0700

    [965] Replace various alignment code with a shared ALIGN() macro.
    
    In the process, fix some alignment issues:
    - Scratch space allocation was aligned into units of 1KB, while the allocati
      wanted units of bytes, so we never allocated enough space for scratch.
    - GRF register count was programmed as ALIGN(val - 1, 16) / 16 instead of
      ALIGN(val, 16) / 16 - 1, which overcounted for val != 16n+1.
Comment 1 Sérgio M. Basto 2007-10-08 12:45:46 UTC
Already fix on git master :

Commit: 4599683b480d295e407725e0fe99c357a0086092 
i915: Fix undefined ALIGN symbol from 77e0523fb7769df4bf43747e136b1653b2421b97.

you may close the bug ! 
Comment 2 Adam Jackson 2009-08-24 12:28:09 UTC
Mass version move, cvs -> git


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.