gpu: host1x: Check INCR opcode correctly
authorTerje Bergstrom <tbergstrom@nvidia.com>
Wed, 29 May 2013 10:26:02 +0000 (13:26 +0300)
committerThierry Reding <thierry.reding@gmail.com>
Sat, 22 Jun 2013 10:43:52 +0000 (12:43 +0200)
commit64c173d3a2bb367c901f1f0a66c1d4e338d8cb2c
treee895a5cbf3488498df3bf65463e540208b9d9406
parent604faa7dcf772ea4d13f89f0c3cc642b15cc4f45
gpu: host1x: Check INCR opcode correctly

The firewall code used a wrong loop condition (pointer to a
structure) while checking INCR opcode. This patch fixes the code to
use correct loop condition (number of words remaining).

Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/gpu/host1x/job.c