xf86-video-intel 2.5 release planning

Eamon Walsh ewalsh at tycho.nsa.gov
Thu Jul 31 14:52:28 PDT 2008


Lukas Hejtmanek wrote:
> On Thu, Jul 31, 2008 at 01:38:20PM -0700, Jesse Barnes wrote:
>   
>> This is what I was hoping to hear.  My threat to remove XAA may turn out to
>> be 
>> an idle one, but I hope to get people excited enough to flame me, report 
>> problems, and hopefully fix them. ;)
>>
>> Carl, any thoughts about the scrolling problem?
>>     
>
> depending on the Xserver version, it could be problem of dixLookupPrivate
> function that currently eats tons of CPU cycles. The fix seems to be far far
> away..
>   

Attached is a privates.c where dixLookupPrivate has been reduced to a 
test + array index. 

The problem is that it needs to store the array index into the memory 
referenced by the "key" pointer.  Currently there is no requirement on 
"key" other than being a unique value.

So committing this requires some refactoring first.  Basically turning 
"static DevPrivateKey foo = &foo" into "static int blah; static 
DevPrivateKey foo = &blah".  After it's done it can be committed.  Maybe 
even backported.


-- 
Eamon Walsh <ewalsh at tycho.nsa.gov>
National Security Agency

-------------- next part --------------
A non-text attachment was scrubbed...
Name: privates.c
Type: text/x-csrc
Size: 7841 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20080731/2512146b/attachment.c>


More information about the xorg mailing list