drm/tegra: Deliver syncpoint base to user space
authorArto Merilainen <amerilainen@nvidia.com>
Mon, 14 Oct 2013 12:21:54 +0000 (15:21 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 31 Oct 2013 08:55:48 +0000 (09:55 +0100)
commitc54a169b528d0ac2a5d3a7bf91f8534323bda83d
treebc2b2f9adef47c6ab2937ed05e55a752a0e2efb1
parentf5a954fed9b3eb04973ede72c50c66157fa9e15b
drm/tegra: Deliver syncpoint base to user space

This patch adds a separate ioctl for delivering syncpoint base number
to user space. If the syncpoint does not have an associated base, the
function returns -ENXIO.

Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.c
include/uapi/drm/tegra_drm.h