]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: firewall: Refactor register check
authorThierry Reding <treding@nvidia.com>
Thu, 10 Oct 2013 08:24:04 +0000 (10:24 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 31 Oct 2013 08:20:08 +0000 (09:20 +0100)
commitf80d92b913e6a7fc04fdd92cbc0e939af1c49255
tree71b815bd4e796288ba3899b19185cf58c37abb13
parent28141901d847f9f2f772c9b6106ecca35905ac1e
gpu: host1x: firewall: Refactor register check

The same code sequence is used in various places to validate a register
access in the command stream. This can be refactored into a separate
function.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/job.c