[Intel-gfx] [PATCH v3] drm/i915: Make power domain masks 64 bit long

Ander Conselvan De Oliveira conselvan2 at gmail.com
Fri Feb 10 09:47:41 UTC 2017


On Thu, 2017-02-09 at 13:43 +0200, Joonas Lahtinen wrote:
> On to, 2017-02-09 at 11:32 +0200, Ander Conselvan De Oliveira wrote:
> > On Thu, 2017-02-09 at 11:31 +0200, Ander Conselvan de Oliveira wrote:
> > > 
> > > There are currently 30 power domains, which puts us pretty close to the
> > > limit with 32 bit masks. Prepare for the future and increase the limit
> > > to 64 bit.
> > > 
> > > v2: Rebase
> > > v3: s/unsigned long long/u64/ (Joonas)
> > >     Allow the 64th bit of the mask to be used. (Joonas)
> > 
> > 63rd.
> 
> I think 64th is correct :) Unless you're counting from zero in natural
> language too.

Patch pushed, thanks for reviewing.

Ander


More information about the Intel-gfx mailing list