video: tegra: Add vblank syncpts as client managed
Peter Pipkorn [Wed, 19 Jan 2011 13:35:26 +0000 (14:35 +0100)]
This change adds the vblank syncpoints to the list of client managed
syncpoints, since they are incremented outside driver control.

This makes the check_max function return true, since previously
the max value was never incremented, leading to the situation that
a syncpoint read failed.

bug 818525

Original-Change-Id: Ie7810aab3842b94964a95a7d8256527168b98a31
Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
[small commit message edits by rmorell]
Signed-off-by: Robert Morell <rmorell@nvidia.com>
Reviewed-on: http://git-master/r/40523
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>

Rebase-Id: Rd4e5529a6ad9c82b11eaa70e588f780bf5f3b533

drivers/video/tegra/host/t20/syncpt_t20.h

index 5e0c978..849537a 100644 (file)
@@ -59,6 +59,7 @@
        BIT(NVSYNCPT_DISP0_B) | BIT(NVSYNCPT_DISP1_B) | \
        BIT(NVSYNCPT_DISP0_C) | BIT(NVSYNCPT_DISP1_C) | \
        BIT(NVSYNCPT_DSI) | \
+       BIT(NVSYNCPT_VBLANK0) | BIT(NVSYNCPT_VBLANK1) | \
        BIT(NVSYNCPT_CSI_VI_0) | BIT(NVSYNCPT_CSI_VI_1) | \
        BIT(NVSYNCPT_VI_ISP_1) | BIT(NVSYNCPT_VI_ISP_2) | \
        BIT(NVSYNCPT_VI_ISP_3) | BIT(NVSYNCPT_VI_ISP_4) | \