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>
Sat, 22 Jun 2013 10:43:55 +0000 (12:43 +0200)
commitebae30b1fbcc2cc991ce705cc82e16d1e5ddbf51
tree9a483e8a9ad7b41ef69784afe1b106a6ec168bac
parentece66891ff452d5643ac5a61649f632984d83c10
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