]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sun, 9 Jun 2013 10:22:02 +0000 (12:22 +0200)
commitea2be762ed32df072458d2ada9459788d1b99b28
treea4b8f8ec84ddbccecee4c0329f778425053f12ad
parente8fd754d7c199a281876a86ecbc631cd1bfb40af
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