]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: Add 'flags' field to syncpt request
authorArto Merilainen <amerilainen@nvidia.com>
Mon, 14 Oct 2013 12:21:52 +0000 (15:21 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 31 Oct 2013 08:55:47 +0000 (09:55 +0100)
commitc66ab830efca2ce6cb9b96345774c216ce5f0f67
tree24fa46183dd65eb55ecf49791eb9e738668033e8
parent3cbaaccbd0625e82edbe42ead0565d8f7cc6d617
gpu: host1x: Add 'flags' field to syncpt request

Functions host1x_syncpt_request() and _host1x_syncpt_alloc() have
been taking a separate boolean flag ('client_managed') for indicating
if the syncpoint value should be tracked by the host1x driver.

This patch converts the field into generic 'flags' field so that
we can easily add more information while requesting a syncpoint.
Clients are adapted to use the new interface accordingly.

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/gr2d.c
drivers/gpu/host1x/syncpt.c
include/linux/host1x.h