]> git.karo-electronics.de Git - karo-tx-linux.git/commit
gpu: host1x: Rework CPU syncpoint increment
authorArto Merilainen <amerilainen@nvidia.com>
Wed, 29 May 2013 10:26:08 +0000 (13:26 +0300)
committerThierry Reding <thierry.reding@gmail.com>
Sun, 9 Jun 2013 10:22:50 +0000 (12:22 +0200)
commit726ecef336bda36dd2e3f6c572a0ef19bfe56f50
treed6814dbe6a1929d9fe42d0cdac60c08d82266bee
parente43d34cb2b08840809cfbf5781720462e8808e44
gpu: host1x: Rework CPU syncpoint increment

This patch merges host1x_syncpt_cpu_incr to host1x_syncpt_incr() as
they are in practise doing the same thing. host1x_syncpt_incr() is
also modified to return error codes. User space interface is modified
accordingly to pass return values.

Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Acked-By: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/gpu/host1x/dev.h
drivers/gpu/host1x/drm/drm.c
drivers/gpu/host1x/hw/cdma_hw.c
drivers/gpu/host1x/hw/syncpt_hw.c
drivers/gpu/host1x/syncpt.c
drivers/gpu/host1x/syncpt.h