Message ID | 1368791388-31441-7-git-send-email-amerilainen@nvidia.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Fri, May 17, 2013 at 02:49:48PM +0300, Arto Merilainen wrote: > Add syncpoint increment to return a proper return code based on the > return value from host1x. > > Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> > --- > drivers/gpu/host1x/drm/drm.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) Maybe this should be folded into patch 5 because it is related to the fact that host1x_syncpt_incr() now returns proper error codes? Thierry
diff --git a/drivers/gpu/host1x/drm/drm.c b/drivers/gpu/host1x/drm/drm.c index 2b561c9..1dfd454 100644 --- a/drivers/gpu/host1x/drm/drm.c +++ b/drivers/gpu/host1x/drm/drm.c @@ -378,8 +378,7 @@ static int tegra_syncpt_incr(struct drm_device *drm, void *data, if (!sp) return -EINVAL; - host1x_syncpt_incr(sp); - return 0; + return host1x_syncpt_incr(sp); } static int tegra_syncpt_wait(struct drm_device *drm, void *data,
Add syncpoint increment to return a proper return code based on the return value from host1x. Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> --- drivers/gpu/host1x/drm/drm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)