Re: [Mesa-dev] [PATCH] winsys/radeon: Only add bo to hash table when creating flink

2013-03-01 Thread Alex Deucher
On Fri, Mar 1, 2013 at 4:34 PM, Martin Andersson wrote: > The problem is that we mix bo handles and flinked names in the hash > table. Because kms type handles are not flinked they should not be > added to the hash table. If we do that we will sooner or later > get a situation where we will overwr

Re: [Mesa-dev] [PATCH] winsys/radeon: Only add bo to hash table when creating flink

2013-03-01 Thread Jerome Glisse
On Fri, Mar 1, 2013 at 4:34 PM, Martin Andersson wrote: > The problem is that we mix bo handles and flinked names in the hash > table. Because kms type handles are not flinked they should not be > added to the hash table. If we do that we will sooner or later > get a situation where we will overwr

[Mesa-dev] [PATCH] winsys/radeon: Only add bo to hash table when creating flink

2013-03-01 Thread Martin Andersson
The problem is that we mix bo handles and flinked names in the hash table. Because kms type handles are not flinked they should not be added to the hash table. If we do that we will sooner or later get a situation where we will overwrite a correct entry because the bo handle was the same as a flink