Re: [Intel-gfx] [PATCH] drm/i915/guc: Fix doorbell id selection

2017-05-31 Thread Joonas Lahtinen
On ti, 2017-05-30 at 17:19 -0700, Daniele Ceraolo Spurio wrote: > > On 30/05/17 17:05, Michel Thierry wrote: > > > > We are passing parameters in the wrong order to find next zero bit, and > > when it doesn't find anything it returns size (offset in the code), which > > is always zero. > > > >

Re: [Intel-gfx] [PATCH] drm/i915/guc: Fix doorbell id selection

2017-05-30 Thread Daniele Ceraolo Spurio
On 30/05/17 17:05, Michel Thierry wrote: We are passing parameters in the wrong order to find next zero bit, and when it doesn't find anything it returns size (offset in the code), which is always zero. For reference the function is defined as: find_next_bit( *addr, size, offset ) The

[Intel-gfx] [PATCH] drm/i915/guc: Fix doorbell id selection

2017-05-30 Thread Michel Thierry
We are passing parameters in the wrong order to find next zero bit, and when it doesn't find anything it returns size (offset in the code), which is always zero. For reference the function is defined as: find_next_bit( *addr, size, offset ) The incorrect parameter order was added by commit