[PATCH] gpu: host1x: handle the correct # of syncpt regs

2014-04-04 Thread Thierry Reding
On Thu, Apr 03, 2014 at 11:09:22AM +0300, Terje Bergstr?m wrote: > On 01.04.2014 23:10, Stephen Warren wrote: > > diff --git a/drivers/gpu/host1x/hw/intr_hw.c > > b/drivers/gpu/host1x/hw/intr_hw.c > > index db9017adfe2b..17407b2de2bf 100644 > > --- a/drivers/gpu/host1x/hw/intr_hw.c > > +++

[PATCH] gpu: host1x: handle the correct # of syncpt regs

2014-04-03 Thread Terje Bergström
On 01.04.2014 23:10, Stephen Warren wrote: > diff --git a/drivers/gpu/host1x/hw/intr_hw.c b/drivers/gpu/host1x/hw/intr_hw.c > index db9017adfe2b..17407b2de2bf 100644 > --- a/drivers/gpu/host1x/hw/intr_hw.c > +++ b/drivers/gpu/host1x/hw/intr_hw.c > @@ -47,7 +47,7 @@ static irqreturn_t

[PATCH] gpu: host1x: handle the correct # of syncpt regs

2014-04-01 Thread Stephen Warren
From: Stephen Warren BIT_WORD() truncates rather than rounds, so the loops in syncpt_thresh_isr() and _host1x_intr_disable_all_syncpt_intrs() use <= rather than < in an attempt to process the correct number of registers when rounding of the conversion of count of bits to